| |
|
| org.apache.commons.betwixt.digester.XMLBeanInfoDigester
All known Subclasses: org.apache.commons.betwixt.digester.MultiMappingBeanInfoDigester,
XMLBeanInfoDigester | public class XMLBeanInfoDigester extends Digester (Code) | | XMLBeanInfoDigester is a digester of XML files
containing XMLBeanInfo definitions for a JavaBean.
author: James Strachan version: $Revision: 438373 $ |
XMLBeanInfoDigester | public XMLBeanInfoDigester()(Code) | | Construct a new XMLBeanInfoDigester with default properties.
|
XMLBeanInfoDigester | public XMLBeanInfoDigester(SAXParser parser)(Code) | | Construct a new XMLBeanInfoDigester, allowing a SAXParser to be passed in. This
allows XMLBeanInfoDigester to be used in environments which are unfriendly to
JAXP1.1 (such as WebLogic 6.0). Thanks for the request to change go to
James House (james@interobjective.com). This may help in places where
you are able to load JAXP 1.1 classes yourself.
Parameters: parser - the SAXParser to be used to parse the xml |
XMLBeanInfoDigester | public XMLBeanInfoDigester(XMLReader reader)(Code) | | Construct a new XMLBeanInfoDigester, allowing an XMLReader to be passed in. This
allows XMLBeanInfoDigester to be used in environments which are unfriendly to
JAXP1.1 (such as WebLogic 6.0). Note that if you use this option you
have to configure namespace and validation support yourself, as these
properties only affect the SAXParser and emtpy constructor.
Parameters: reader - the XMLReader to be used to parse the xml |
configure | protected void configure()(Code) | | Reset configure for new digestion
|
getBeanClass | public Class getBeanClass()(Code) | | Gets the class of the bean whose .betwixt file is being processed
the beans class for this XML descriptor |
getProcessedPropertyNameSet | public Set getProcessedPropertyNameSet()(Code) | | Gets the property names already processed
the set of property names that have been processed so far |
getXMLIntrospector | public XMLIntrospector getXMLIntrospector()(Code) | | Gets the XMLIntrospector that's using this digester.
the introspector that is using me |
isAttributesForPrimitives | public boolean isAttributesForPrimitives()(Code) | | Should attributes (or elements) be used for primitive types?
true if primitive properties should be written as attributes in the xml |
setAttributesForPrimitives | public void setAttributesForPrimitives(boolean attributesForPrimitives)(Code) | | Set whether attributes (or elements) should be used for primitive types.
Parameters: attributesForPrimitives - pass true if primitive properties should be written as attributes |
setBeanClass | public void setBeanClass(Class beanClass)(Code) | | Sets the beans class for this XML descriptor
Parameters: beanClass - the Class of the bean being processed |
setXMLIntrospector | public void setXMLIntrospector(XMLIntrospector introspector)(Code) | | Sets the introspector that is using me
Parameters: introspector - the XMLIntrospector that using this for .betwixt digestion |
|
|
|