|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xml.sax.helpers.DefaultHandler org.apache.commons.digester.Digester org.apache.commons.betwixt.digester.XMLBeanInfoDigester
public class XMLBeanInfoDigester
XMLBeanInfoDigester
is a digester of XML files
containing XMLBeanInfo definitions for a JavaBean.
Field Summary |
---|
Fields inherited from class org.apache.commons.digester.Digester |
---|
bodyText, bodyTexts, classLoader, configured, entityResolver, entityValidator, errorHandler, factory, JAXP_SCHEMA_LANGUAGE, locator, match, matches, namespaceAware, namespaces, params, parser, publicId, reader, root, rules, saxLog, schemaLanguage, schemaLocation, stack, substitutor, useContextClassLoader, validating, W3C_XML_SCHEMA |
Constructor Summary | |
---|---|
XMLBeanInfoDigester()
Construct a new XMLBeanInfoDigester with default properties. |
|
XMLBeanInfoDigester(javax.xml.parsers.SAXParser parser)
Construct a new XMLBeanInfoDigester, allowing a SAXParser to be passed in. |
|
XMLBeanInfoDigester(org.xml.sax.XMLReader reader)
Construct a new XMLBeanInfoDigester, allowing an XMLReader to be passed in. |
Method Summary | |
---|---|
protected void |
configure()
Reset configure for new digestion |
java.lang.Class |
getBeanClass()
Gets the class of the bean whose .betwixt file is being processed |
java.util.Set |
getProcessedPropertyNameSet()
Gets the property names already processed |
XMLIntrospector |
getXMLIntrospector()
Gets the XMLIntrospector that's using this digester. |
boolean |
isAttributesForPrimitives()
Should attributes (or elements) be used for primitive types? |
void |
setAttributesForPrimitives(boolean attributesForPrimitives)
Set whether attributes (or elements) should be used for primitive types. |
void |
setBeanClass(java.lang.Class beanClass)
Sets the beans class for this XML descriptor |
void |
setXMLIntrospector(XMLIntrospector introspector)
Sets the introspector that is using me |
Methods inherited from class org.apache.commons.digester.Digester |
---|
addBeanPropertySetter, addBeanPropertySetter, addCallMethod, addCallMethod, addCallMethod, addCallMethod, addCallParam, addCallParam, addCallParam, addCallParam, addCallParamPath, addFactoryCreate, addFactoryCreate, addFactoryCreate, addFactoryCreate, addFactoryCreate, addFactoryCreate, addFactoryCreate, addFactoryCreate, addFactoryCreate, addFactoryCreate, addObjectCreate, addObjectCreate, addObjectCreate, addObjectCreate, addObjectParam, addRule, addRuleSet, addSetNestedProperties, addSetNestedProperties, addSetNestedProperties, addSetNext, addSetNext, addSetProperties, addSetProperties, addSetProperties, addSetProperty, addSetRoot, addSetRoot, addSetTop, addSetTop, characters, clear, createSAXException, createSAXException, createSAXException, endDocument, endElement, endPrefixMapping, error, fatalError, findNamespaceURI, getClassLoader, getCount, getCurrentElementName, getCustomContentHandler, getDebug, getDocumentLocator, getEntityResolver, getErrorHandler, getFactory, getFeature, getLogger, getMatch, getNamespaceAware, getParser, getProperty, getPublicId, getReader, getRoot, getRuleNamespaceURI, getRules, getSAXLogger, getSchema, getSchemaLanguage, getSubstitutor, getUseContextClassLoader, getValidating, getXMLReader, ignorableWhitespace, initialize, isEmpty, log, log, notationDecl, parse, parse, parse, parse, parse, peek, peek, peek, peek, peekParams, peekParams, pop, pop, popParams, processingInstruction, push, push, pushParams, register, resetRoot, resolveEntity, setClassLoader, setCustomContentHandler, setDebug, setDocumentLocator, setEntityResolver, setErrorHandler, setFeature, setLogger, setNamespaceAware, setProperty, setPublicId, setRuleNamespaceURI, setRules, setSAXLogger, setSchema, setSchemaLanguage, setSubstitutor, setUseContextClassLoader, setValidating, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLBeanInfoDigester()
public XMLBeanInfoDigester(javax.xml.parsers.SAXParser parser)
parser
- the SAXParser
to be used to parse the xmlpublic XMLBeanInfoDigester(org.xml.sax.XMLReader reader)
reader
- the XMLReader
to be used to parse the xmlMethod Detail |
---|
public java.lang.Class getBeanClass()
public void setBeanClass(java.lang.Class beanClass)
beanClass
- the Class
of the bean being processedpublic java.util.Set getProcessedPropertyNameSet()
public boolean isAttributesForPrimitives()
public void setAttributesForPrimitives(boolean attributesForPrimitives)
attributesForPrimitives
- pass true if primitive properties should be
written as attributespublic XMLIntrospector getXMLIntrospector()
public void setXMLIntrospector(XMLIntrospector introspector)
introspector
- the XMLIntrospector
that using this for .betwixt
digestionprotected void configure()
configure
in class org.apache.commons.digester.Digester
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |