|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ElementDescriptor | |
org.apache.commons.betwixt | This package contains the main betwixt introspection code. |
org.apache.commons.betwixt.digester | This package contains the Digester and associated rules and helper classes for parsing the XMLBeanInfo metadata from an XML file format. |
org.apache.commons.betwixt.io | Package contains classes dealing directly with the reading and writing of beans. |
org.apache.commons.betwixt.io.read | Package contains strategy and configuration classes used by reading only. |
org.apache.commons.betwixt.schema | WARNING: EXPERIMENTAL
Contains classes that generate XML (w3c) schema
from Betwixt descriptors. |
org.apache.commons.betwixt.strategy | This package contains a variety of plugin Strategy patterns that can be used to customize the default behaviours. |
Uses of ElementDescriptor in org.apache.commons.betwixt |
Methods in org.apache.commons.betwixt that return ElementDescriptor | |
ElementDescriptor |
XMLBeanInfo.getElementDescriptor()
Gets descriptor for bean represention |
ElementDescriptor[] |
ElementDescriptor.getElementDescriptors()
Returns descriptors for the child elements of the element this describes. |
ElementDescriptor |
ElementDescriptor.getElementDescriptor(java.lang.String name)
Gets a child ElementDescriptor matching the given name if one exists. |
ElementDescriptor |
ElementDescriptor.findParent(ElementDescriptor elementDescriptor)
Finds the parent of the given descriptor. |
Methods in org.apache.commons.betwixt with parameters of type ElementDescriptor | |
void |
XMLIntrospector.defaultAddMethods(ElementDescriptor rootDescriptor,
java.lang.Class beanClass)
Add any addPropety(PropertyType) methods as Updaters which are often used for 1-N relationships in beans. |
void |
XMLBeanInfo.setElementDescriptor(ElementDescriptor elementDescriptor)
Sets descriptor for bean represention |
void |
ElementDescriptor.addElementDescriptor(ElementDescriptor descriptor)
Adds a descriptor for a child element. |
void |
ElementDescriptor.setElementDescriptors(ElementDescriptor[] elementDescriptors)
Sets the descriptors for the child element of the element this describes. |
ElementDescriptor |
ElementDescriptor.findParent(ElementDescriptor elementDescriptor)
Finds the parent of the given descriptor. |
Uses of ElementDescriptor in org.apache.commons.betwixt.digester |
Methods in org.apache.commons.betwixt.digester that return ElementDescriptor | |
protected static ElementDescriptor |
XMLIntrospectorHelper.findGetCollectionDescriptor(XMLIntrospector introspector,
ElementDescriptor rootDescriptor,
java.lang.String propertyName)
Deprecated. 0.6 moved into XMLIntrospector |
protected ElementDescriptor |
AddDefaultsRule.getRootElementDescriptor()
Gets an ElementDescriptor for the top on digester's stack. |
Methods in org.apache.commons.betwixt.digester with parameters of type ElementDescriptor | |
protected void |
ElementRule.configureDescriptor(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(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(ElementDescriptor elementDescriptor,
java.beans.PropertyDescriptor propertyDescriptor)
Deprecated. 0.6 unused |
static void |
XMLIntrospectorHelper.configureProperty(ElementDescriptor elementDescriptor,
java.beans.PropertyDescriptor propertyDescriptor,
java.lang.String updateMethodName,
java.lang.Class beanClass)
Deprecated. 0.6 moved into ElementRule |
static void |
XMLIntrospectorHelper.defaultAddMethods(XMLIntrospector introspector,
ElementDescriptor rootDescriptor,
java.lang.Class beanClass)
Deprecated. 0.6 use the method in XMLIntrospector instead |
protected static ElementDescriptor |
XMLIntrospectorHelper.findGetCollectionDescriptor(XMLIntrospector introspector,
ElementDescriptor rootDescriptor,
java.lang.String propertyName)
Deprecated. 0.6 moved into XMLIntrospector |
protected static void |
XMLIntrospectorHelper.makeElementDescriptorMap(ElementDescriptor rootDescriptor,
java.util.Map map)
Deprecated. 0.6 moved into XMLIntrospector |
protected static void |
XMLIntrospectorHelper.swapDescriptor(ElementDescriptor rootDescriptor,
ElementDescriptor oldValue,
ElementDescriptor newValue)
Deprecated. 0.6 now unused |
Uses of ElementDescriptor in org.apache.commons.betwixt.io |
Methods in org.apache.commons.betwixt.io that return ElementDescriptor | |
protected ElementDescriptor |
BeanCreateRule.getElementDescriptor(ElementDescriptor propertyDescriptor)
Deprecated. Allows the navigation from a reference to a property object to the descriptor defining what the property is. |
abstract 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,
ElementDescriptor elementDescriptor,
Context context)
Deprecated. 0.5 replaced by new SAX inspired API |
protected void |
AbstractBeanWriter.write(java.lang.String qualifiedName,
ElementDescriptor elementDescriptor,
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,
ElementDescriptor elementDescriptor,
Context context)
Deprecated. 0.5 replaced by new SAX inspired API |
protected boolean |
AbstractBeanWriter.writeContent(ElementDescriptor elementDescriptor,
Context context)
Deprecated. 0.5 replaced by new SAX inspired API |
protected void |
AbstractBeanWriter.writeAttributes(ElementDescriptor elementDescriptor,
Context context)
Deprecated. 0.5 replaced by new SAX inspired API |
protected void |
BeanCreateRule.addChildRules(java.lang.String prefix,
ElementDescriptor currentDescriptor)
Deprecated. Add child rules for given descriptor at given prefix |
protected ElementDescriptor |
BeanCreateRule.getElementDescriptor(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,
ElementDescriptor childDescriptor)
Deprecated. Adds a new Digester rule to process the text as a primitive type |
protected void |
BeanReader.addBeanCreateRule(java.lang.String path,
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 | |
BeanRuleSet(XMLIntrospector introspector,
java.lang.String basePath,
ElementDescriptor baseElementDescriptor,
java.lang.Class baseBeanClass,
boolean matchIDs)
Deprecated. 0.5 use constructor which takes a ReadContext instead |
|
BeanRuleSet(XMLIntrospector introspector,
java.lang.String basePath,
ElementDescriptor baseElementDescriptor,
Context context)
Deprecated. 0.6 use the constructor which takes a ReadContext instead |
|
BeanRuleSet(XMLIntrospector introspector,
java.lang.String basePath,
ElementDescriptor baseElementDescriptor,
java.lang.Class baseBeanClass,
Context context)
Deprecated. 0.5 use the constructor which takes a ReadContext instead |
|
BeanRuleSet(XMLIntrospector introspector,
java.lang.String basePath,
ElementDescriptor baseElementDescriptor,
java.lang.Class baseBeanClass,
ReadContext baseContext)
Base constructor. |
|
BeanCreateRule(ElementDescriptor descriptor,
java.lang.Class beanClass,
java.lang.String pathPrefix)
Deprecated. Convenience constructor which uses ID's for matching. |
|
BeanCreateRule(ElementDescriptor descriptor,
java.lang.Class beanClass,
java.lang.String pathPrefix,
boolean matchIDs)
Deprecated. Constructor taking a class. |
|
BeanCreateRule(ElementDescriptor descriptor,
java.lang.Class beanClass)
Deprecated. Convenience constructor which uses ID's for matching. |
|
BeanCreateRule(ElementDescriptor descriptor,
java.lang.Class beanClass,
boolean matchIDs)
Deprecated. Constructor uses standard qualified name. |
|
BeanCreateRule(ElementDescriptor descriptor,
Context context,
java.lang.String pathPrefix)
Deprecated. Convenience constructor which uses ID's for match. |
|
BeanCreateRule(ElementDescriptor descriptor,
Context context,
java.lang.String pathPrefix,
boolean matchIDs)
Deprecated. Constructor taking a context. |
Uses of ElementDescriptor in org.apache.commons.betwixt.io.read |
Methods in org.apache.commons.betwixt.io.read that return ElementDescriptor | |
ElementDescriptor |
ElementMapping.getDescriptor()
Gets the mapped element descriptor. |
ElementDescriptor |
ReadContext.getCurrentDescriptor()
Gets the ElementDescriptor that describes the
mapping for the current element. |
Methods in org.apache.commons.betwixt.io.read with parameters of type ElementDescriptor | |
static MappingAction |
ArrayBindAction.createMappingAction(ElementDescriptor elementDescriptor)
Factory method creates implementations to map arrays. |
protected java.lang.Object |
BeanBindAction.createBean(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ElementDescriptor descriptor,
ReadContext context)
Factory method to create new bean instances |
void |
ElementMapping.setDescriptor(ElementDescriptor descriptor)
Sets the mapped element descriptor. |
Uses of ElementDescriptor in org.apache.commons.betwixt.schema |
Methods in org.apache.commons.betwixt.schema that return ElementDescriptor | |
protected ElementDescriptor |
ComplexType.fillDescriptor(ElementDescriptor elementDescriptor,
Schema schema)
Fills the given descriptor |
Methods in org.apache.commons.betwixt.schema with parameters of type ElementDescriptor | |
void |
Schema.addGlobalElementType(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor)
Adds global (top level) element and type declarations matching the given descriptor. |
GlobalComplexType |
Schema.addGlobalComplexType(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor)
Adds a new global complex type definition matching the given element descriptor. |
protected ElementDescriptor |
ComplexType.fillDescriptor(ElementDescriptor elementDescriptor,
Schema schema)
Fills the given descriptor |
protected void |
ComplexType.init(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
|
protected void |
GlobalComplexType.init(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
|
protected void |
GlobalComplexType.fill(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
Fills the complex type description. |
boolean |
GlobalComplexType.matches(ElementDescriptor elementDescriptor)
Does the given element descriptor match this complex type? |
Constructors in org.apache.commons.betwixt.schema with parameters of type ElementDescriptor | |
LocalElement(ElementDescriptor descriptor,
Schema schema)
|
|
ComplexLocalElement(TranscriptionConfiguration configuration,
ElementDescriptor descriptor,
Schema schema)
|
|
ElementReference(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
|
|
SimpleLocalElement(TranscriptionConfiguration configuration,
ElementDescriptor descriptor,
Schema schema)
|
|
ComplexType(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
|
|
GlobalComplexType(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
Constructs a new ComplexType from the descriptor given. |
|
LocalComplexType(TranscriptionConfiguration configuration,
ElementDescriptor elementDescriptor,
Schema schema)
|
Uses of ElementDescriptor in org.apache.commons.betwixt.strategy |
Methods in org.apache.commons.betwixt.strategy that return ElementDescriptor | |
ElementDescriptor |
DefaultPluralStemmer.findPluralDescriptor(java.lang.String propertyName,
java.util.Map map)
Algorithm supports common english plural patterns. |
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 | |
abstract java.lang.String |
MixedContentEncodingStrategy.encode(java.lang.String bodyContent,
ElementDescriptor element)
Encodes the body content into a form suitable for output as (textual) xml. |
java.lang.String |
BaseMixedContentEncodingStrategy.encode(java.lang.String bodyContent,
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(ElementDescriptor element)
Should the element described by the given ElementDescriptor be encoded as a CDATA
section?
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |