Uses of Class
org.apache.commons.betwixt.ElementDescriptor

Packages that use ElementDescriptor
org.apache.commons.betwixt  
org.apache.commons.betwixt.digester  
org.apache.commons.betwixt.io  
org.apache.commons.betwixt.io.read  
org.apache.commons.betwixt.strategy  
 

Uses of ElementDescriptor in org.apache.commons.betwixt
 

Methods in org.apache.commons.betwixt that return ElementDescriptor
 org.apache.commons.betwixt.ElementDescriptor[] ElementDescriptor.getElementDescriptors()
          Returns descriptors for the child elements of the element this describes.
 org.apache.commons.betwixt.ElementDescriptor XMLBeanInfo.getElementDescriptor()
          Gets descriptor for bean represention
 

Methods in org.apache.commons.betwixt with parameters of type ElementDescriptor
 void ElementDescriptor.addElementDescriptor(org.apache.commons.betwixt.ElementDescriptor descriptor)
          Adds a descriptor for a child element.
 void ElementDescriptor.setElementDescriptors(org.apache.commons.betwixt.ElementDescriptor[] elementDescriptors)
          Sets the descriptors for the child element of the element this describes.
 void XMLBeanInfo.setElementDescriptor(org.apache.commons.betwixt.ElementDescriptor elementDescriptor)
          Sets descriptor for bean represention
 

Uses of ElementDescriptor in org.apache.commons.betwixt.digester
 

Methods in org.apache.commons.betwixt.digester that return ElementDescriptor
protected  org.apache.commons.betwixt.ElementDescriptor AddDefaultsRule.getRootElementDescriptor()
          Gets an ElementDescriptor for the top on digester's stack.
protected static org.apache.commons.betwixt.ElementDescriptor XMLIntrospectorHelper.findGetCollectionDescriptor(org.apache.commons.betwixt.XMLIntrospector introspector, org.apache.commons.betwixt.ElementDescriptor rootDescriptor, java.lang.String propertyName)
          Attempts to find the element descriptor for the getter property that typically matches a collection or array.
 

Methods in org.apache.commons.betwixt.digester with parameters of type ElementDescriptor
protected  void ElementRule.configureDescriptor(org.apache.commons.betwixt.ElementDescriptor elementDescriptor)
          Sets the Expression and Updater from a bean property name Uses the default updater (from the standard java bean property).
protected  void ElementRule.configureDescriptor(org.apache.commons.betwixt.ElementDescriptor elementDescriptor, java.lang.String updateMethodName)
          Sets the Expression and Updater from a bean property name Allows a custom updater to be passed in.
static void XMLIntrospectorHelper.configureProperty(org.apache.commons.betwixt.ElementDescriptor elementDescriptor, java.beans.PropertyDescriptor propertyDescriptor)
          Configure an ElementDescriptor from a PropertyDescriptor.
static void XMLIntrospectorHelper.configureProperty(org.apache.commons.betwixt.ElementDescriptor elementDescriptor, java.beans.PropertyDescriptor propertyDescriptor, java.lang.String updateMethodName, java.lang.Class beanClass)
          Configure an ElementDescriptor from a PropertyDescriptor.
static void XMLIntrospectorHelper.defaultAddMethods(org.apache.commons.betwixt.XMLIntrospector introspector, org.apache.commons.betwixt.ElementDescriptor rootDescriptor, java.lang.Class beanClass)
          Add any addPropety(PropertyType) methods as Updaters which are often used for 1-N relationships in beans.
protected static org.apache.commons.betwixt.ElementDescriptor XMLIntrospectorHelper.findGetCollectionDescriptor(org.apache.commons.betwixt.XMLIntrospector introspector, org.apache.commons.betwixt.ElementDescriptor rootDescriptor, java.lang.String propertyName)
          Attempts to find the element descriptor for the getter property that typically matches a collection or array.
protected static void XMLIntrospectorHelper.makeElementDescriptorMap(org.apache.commons.betwixt.ElementDescriptor rootDescriptor, java.util.Map map)
          Creates a map where the keys are the property names and the values are the ElementDescriptors
protected static void XMLIntrospectorHelper.swapDescriptor(org.apache.commons.betwixt.ElementDescriptor rootDescriptor, org.apache.commons.betwixt.ElementDescriptor oldValue, org.apache.commons.betwixt.ElementDescriptor newValue)
          Traverse the tree of element descriptors and find the oldValue and swap it with the newValue.
protected static void XMLIntrospectorHelper.swapDescriptor(org.apache.commons.betwixt.ElementDescriptor rootDescriptor, org.apache.commons.betwixt.ElementDescriptor oldValue, org.apache.commons.betwixt.ElementDescriptor newValue)
          Traverse the tree of element descriptors and find the oldValue and swap it with the newValue.
protected static void XMLIntrospectorHelper.swapDescriptor(org.apache.commons.betwixt.ElementDescriptor rootDescriptor, org.apache.commons.betwixt.ElementDescriptor oldValue, org.apache.commons.betwixt.ElementDescriptor newValue)
          Traverse the tree of element descriptors and find the oldValue and swap it with the newValue.
 

Uses of ElementDescriptor in org.apache.commons.betwixt.io
 

Methods in org.apache.commons.betwixt.io that return ElementDescriptor
protected  org.apache.commons.betwixt.ElementDescriptor BeanCreateRule.getElementDescriptor(org.apache.commons.betwixt.ElementDescriptor propertyDescriptor)
          Deprecated. Allows the navigation from a reference to a property object to the descriptor defining what the property is.
abstract  org.apache.commons.betwixt.ElementDescriptor WriteContext.getCurrentDescriptor()
          Gets the descriptor for the element who content is currently being created.
 

Methods in org.apache.commons.betwixt.io with parameters of type ElementDescriptor
protected  void AbstractBeanWriter.write(java.lang.String qualifiedName, org.apache.commons.betwixt.ElementDescriptor elementDescriptor, org.apache.commons.betwixt.expression.Context context)
          Deprecated. 0.5 replaced by new SAX inspired API
protected  void AbstractBeanWriter.write(java.lang.String qualifiedName, org.apache.commons.betwixt.ElementDescriptor elementDescriptor, org.apache.commons.betwixt.expression.Context context, java.lang.String idAttribute, java.lang.String idValue)
          Deprecated. 0.5 replaced by new SAX inspired API
protected  void AbstractBeanWriter.writeRestOfElement(java.lang.String qualifiedName, org.apache.commons.betwixt.ElementDescriptor elementDescriptor, org.apache.commons.betwixt.expression.Context context)
          Deprecated. 0.5 replaced by new SAX inspired API
protected  boolean AbstractBeanWriter.writeContent(org.apache.commons.betwixt.ElementDescriptor elementDescriptor, org.apache.commons.betwixt.expression.Context context)
          Deprecated. 0.5 replaced by new SAX inspired API
protected  void AbstractBeanWriter.writeAttributes(org.apache.commons.betwixt.ElementDescriptor elementDescriptor, org.apache.commons.betwixt.expression.Context context)
          Deprecated. 0.5 replaced by new SAX inspired API
protected  void BeanCreateRule.addChildRules(java.lang.String prefix, org.apache.commons.betwixt.ElementDescriptor currentDescriptor)
          Deprecated. Add child rules for given descriptor at given prefix
protected  org.apache.commons.betwixt.ElementDescriptor BeanCreateRule.getElementDescriptor(org.apache.commons.betwixt.ElementDescriptor propertyDescriptor)
          Deprecated. Allows the navigation from a reference to a property object to the descriptor defining what the property is.
protected  void BeanCreateRule.addPrimitiveTypeRule(java.lang.String path, org.apache.commons.betwixt.ElementDescriptor childDescriptor)
          Deprecated. Adds a new Digester rule to process the text as a primitive type
protected  void BeanReader.addBeanCreateRule(java.lang.String path, org.apache.commons.betwixt.ElementDescriptor elementDescriptor, java.lang.Class beanClass)
          Adds a new bean create rule for the specified path
 

Constructors in org.apache.commons.betwixt.io with parameters of type ElementDescriptor
BeanCreateRule(org.apache.commons.betwixt.ElementDescriptor descriptor, java.lang.Class beanClass, java.lang.String pathPrefix)
          Deprecated. Convenience constructor which uses ID's for matching.
BeanCreateRule(org.apache.commons.betwixt.ElementDescriptor descriptor, java.lang.Class beanClass, java.lang.String pathPrefix, boolean matchIDs)
          Deprecated. Constructor taking a class.
BeanCreateRule(org.apache.commons.betwixt.ElementDescriptor descriptor, java.lang.Class beanClass)
          Deprecated. Convenience constructor which uses ID's for matching.
BeanCreateRule(org.apache.commons.betwixt.ElementDescriptor descriptor, java.lang.Class beanClass, boolean matchIDs)
          Deprecated. Constructor uses standard qualified name.
BeanCreateRule(org.apache.commons.betwixt.ElementDescriptor descriptor, org.apache.commons.betwixt.expression.Context context, java.lang.String pathPrefix)
          Deprecated. Convenience constructor which uses ID's for match.
BeanCreateRule(org.apache.commons.betwixt.ElementDescriptor descriptor, org.apache.commons.betwixt.expression.Context context, java.lang.String pathPrefix, boolean matchIDs)
          Deprecated. Constructor taking a context.
BeanRuleSet(org.apache.commons.betwixt.XMLIntrospector introspector, java.lang.String basePath, org.apache.commons.betwixt.ElementDescriptor baseElementDescriptor, java.lang.Class baseBeanClass, boolean matchIDs)
          Deprecated. 0.5 use constructor which takes a ReadContext instead
BeanRuleSet(org.apache.commons.betwixt.XMLIntrospector introspector, java.lang.String basePath, org.apache.commons.betwixt.ElementDescriptor baseElementDescriptor, java.lang.Class baseBeanClass, org.apache.commons.betwixt.expression.Context context)
          Deprecated. 0.5 use the constructor which takes a ReadContext instead
BeanRuleSet(org.apache.commons.betwixt.XMLIntrospector introspector, java.lang.String basePath, org.apache.commons.betwixt.ElementDescriptor baseElementDescriptor, java.lang.Class baseBeanClass, org.apache.commons.betwixt.io.read.ReadContext baseContext)
          Base constructor.
 

Uses of ElementDescriptor in org.apache.commons.betwixt.io.read
 

Methods in org.apache.commons.betwixt.io.read that return ElementDescriptor
 org.apache.commons.betwixt.ElementDescriptor ElementMapping.getDescriptor()
          Gets the mapped element descriptor.
 

Methods in org.apache.commons.betwixt.io.read with parameters of type ElementDescriptor
 void ElementMapping.setDescriptor(org.apache.commons.betwixt.ElementDescriptor descriptor)
          Sets the mapped element descriptor.
 

Uses of ElementDescriptor in org.apache.commons.betwixt.strategy
 

Methods in org.apache.commons.betwixt.strategy that return ElementDescriptor
 org.apache.commons.betwixt.ElementDescriptor DefaultPluralStemmer.findPluralDescriptor(java.lang.String propertyName, java.util.Map map)
          Algorithm supports common english plural patterns.
 org.apache.commons.betwixt.ElementDescriptor PluralStemmer.findPluralDescriptor(java.lang.String propertyName, java.util.Map map)
          Find the plural descriptor for a singular property.
 

Methods in org.apache.commons.betwixt.strategy with parameters of type ElementDescriptor
 java.lang.String BaseMixedContentEncodingStrategy.encode(java.lang.String bodyContent, org.apache.commons.betwixt.ElementDescriptor element)
          Encodes the given body content by either escaping the character data or by encoding within a CDATA section.
protected abstract  boolean BaseMixedContentEncodingStrategy.encodeAsCDATA(org.apache.commons.betwixt.ElementDescriptor element)
          Should the element described by the given ElementDescriptor be encoded as a CDATA section?
abstract  java.lang.String MixedContentEncodingStrategy.encode(java.lang.String bodyContent, org.apache.commons.betwixt.ElementDescriptor element)
          Encodes the body content into a form suitable for output as (textual) xml.
 



Copyright © 2002-2004 The Apache Software Foundation. All Rights Reserved.