A B C D E F G H I L M N O P Q R S T U V W X

A

AbstractBeanWriter - Class in org.apache.commons.betwixt.io
Abstract superclass for bean writers.
AbstractBeanWriter() - Constructor for class org.apache.commons.betwixt.io.AbstractBeanWriter
 
AbstractIDGenerator - Class in org.apache.commons.betwixt.io.id
Abstract superclass for IDGenerator implementations.
AbstractIDGenerator() - Constructor for class org.apache.commons.betwixt.io.id.AbstractIDGenerator
 
ActionMappingStrategy - Class in org.apache.commons.betwixt.strategy
Pluggable strategy interface used for free mappings.
ActionMappingStrategy() - Constructor for class org.apache.commons.betwixt.strategy.ActionMappingStrategy
 
addAttribute(Attribute) - Method in class org.apache.commons.betwixt.schema.ComplexType
Adds an attribute to those contained by this type
addAttributeDescriptor(AttributeDescriptor) - Method in class org.apache.commons.betwixt.ElementDescriptor
Adds an attribute to the element this ElementDescriptor describes
addBeanCreateRule(String, ElementDescriptor, Class) - Method in class org.apache.commons.betwixt.io.BeanReader
Adds a new bean create rule for the specified path
addBeanCreator(ChainedBeanCreator) - Method in class org.apache.commons.betwixt.io.read.BeanCreationList
Adds a BeanCreator to the end of the chain.
addChildRules() - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Adds the rules to the digester for all child elements
addChildRules(String, ElementDescriptor) - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Add child rules for given descriptor at given prefix
addComplexType(GlobalComplexType) - Method in class org.apache.commons.betwixt.schema.Schema
Adds a new complex type to those defined
addContentDescriptor(Descriptor) - Method in class org.apache.commons.betwixt.ElementDescriptor
Adds a descriptor for child content.
AddDefaultsRule - Class in org.apache.commons.betwixt.digester
AddDefaultsRule appends all the default properties to the current element.
AddDefaultsRule() - Constructor for class org.apache.commons.betwixt.digester.AddDefaultsRule
Base constructor
addDescriptor(NodeDescriptor) - Method in class org.apache.commons.betwixt.digester.AddDefaultsRule
Deprecated. 0.5 replaced AddDefaultsRule.addDescriptor( Descriptor )
addDescriptor(Descriptor) - Method in class org.apache.commons.betwixt.digester.AddDefaultsRule
Add a desciptor to the top object on the Digester stack.
addElement(ElementReference) - Method in class org.apache.commons.betwixt.schema.ComplexType
Adds an element to those contained by this type
addElement(LocalElement) - Method in class org.apache.commons.betwixt.schema.ComplexType
Adds an element to those contained by this type
addElement(GlobalElement) - Method in class org.apache.commons.betwixt.schema.Schema
Adds a new element to those defined.
addElementDescriptor(ElementDescriptor) - Method in class org.apache.commons.betwixt.ElementDescriptor
Adds a descriptor for a child element.
addGlobalComplexType(TranscriptionConfiguration, ElementDescriptor) - Method in class org.apache.commons.betwixt.schema.Schema
Adds a new global complex type definition matching the given element descriptor.
addGlobalElementType(TranscriptionConfiguration, ElementDescriptor) - Method in class org.apache.commons.betwixt.schema.Schema
Adds global (top level) element and type declarations matching the given descriptor.
addOption(String, String) - Method in class org.apache.commons.betwixt.Options
Adds the option.
addOptions(Options) - Method in class org.apache.commons.betwixt.Options
Adds multiple options from an existing Options collection.
addPrimitiveTypeRule(String, ElementDescriptor) - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Adds a new Digester rule to process the text as a primitive type
addProperties(BeanInfo, List, List, List) - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.5 use XMLIntrospector.addProperties(BeanProperty[], List, List,List)
addProperties(BeanProperty[], List, List, List) - Method in class org.apache.commons.betwixt.XMLIntrospector
Loop through properties and process each one
addProperties(BeanInfo, List, List) - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.5 this method does not support mixed content. Use XMLIntrospector.addProperties(BeanInfo, List, List, List) instead.
addProperty(BeanInfo, PropertyDescriptor, List, List, List) - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.5 BeanInfo is no longer required. Use XMLIntrospector.addProperty(PropertyDescriptor, List, List, List) instead.
addProperty(PropertyDescriptor, List, List, List) - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.5 use XMLIntrospector.addProperty(BeanProperty, List, List, List) instead
addProperty(BeanProperty, List, List, List) - Method in class org.apache.commons.betwixt.XMLIntrospector
Process a property.
addProperty(BeanInfo, PropertyDescriptor, List, List) - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.5 this method does not support mixed content. Use XMLIntrospector.addProperty(BeanInfo, PropertyDescriptor, List, List, List) instead.
addRule(String, Rule) - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Safely add a rule with given path.
addRuleInstances(Digester) - Method in class org.apache.commons.betwixt.digester.CommonRuleSet
Adds rule instances.
addRuleInstances(Digester) - Method in class org.apache.commons.betwixt.io.BeanRuleSet
Add rules for bean to given Digester.
addSimpleType(SimpleType) - Method in class org.apache.commons.betwixt.schema.Schema
Adds a new simple type to those defined.
addStrategy(PropertySuppressionStrategy) - Method in class org.apache.commons.betwixt.strategy.PropertySuppressionStrategy.Chain
Adds a strategy to the list
addSubstitution(Class, Class) - Method in class org.apache.commons.betwixt.strategy.ListedClassNormalizer
Adds this given substitution to the list.
addSubstitution(Class) - Method in class org.apache.commons.betwixt.strategy.ListedClassNormalizer
Adds the given substitute to the list.
ALLOW_ALL_VALUES - Static variable in class org.apache.commons.betwixt.strategy.ValueSuppressionStrategy
Strategy allows all values to be expressed for all attributes
AMPERSAND_ENTITY - Static variable in class org.apache.commons.betwixt.XMLUtils
Escaped & entity
APOSTROPHE_ENTITY - Static variable in class org.apache.commons.betwixt.XMLUtils
Escaped ' entity
ArrayBindAction - Class in org.apache.commons.betwixt.io.read
Acts to bind an array property.
ArrayBindAction() - Constructor for class org.apache.commons.betwixt.io.read.ArrayBindAction
 
assignAdder(Method, ElementDescriptor) - Method in class org.apache.commons.betwixt.XMLIntrospector
Assigns the given method as an adder method to the given descriptor.
Attribute - Class in org.apache.commons.betwixt.schema
Models the attribute element in an XML schema.
Attribute() - Constructor for class org.apache.commons.betwixt.schema.Attribute
 
Attribute(String, String) - Constructor for class org.apache.commons.betwixt.schema.Attribute
 
Attribute(AttributeDescriptor) - Constructor for class org.apache.commons.betwixt.schema.Attribute
 
ATTRIBUTE - Static variable in class org.apache.commons.betwixt.strategy.SimpleTypeMapper.Binding
 
AttributeDescriptor - Class in org.apache.commons.betwixt
AttributeDescriptor describes the XML attributes to be created for a bean instance.
AttributeDescriptor() - Constructor for class org.apache.commons.betwixt.AttributeDescriptor
Base constructor
AttributeDescriptor(String) - Constructor for class org.apache.commons.betwixt.AttributeDescriptor
Creates a AttributeDescriptor with no namespace URI or prefix
AttributeDescriptor(String, String, String) - Constructor for class org.apache.commons.betwixt.AttributeDescriptor
Creates a AttributeDescriptor with namespace URI and qualified name
AttributeRule - Class in org.apache.commons.betwixt.digester
AttributeRule the digester Rule for parsing the <attribute> elements.
AttributeRule() - Constructor for class org.apache.commons.betwixt.digester.AttributeRule
Base constructor
attributes - Variable in class org.apache.commons.betwixt.schema.ComplexType
 
AttributeSuppressionStrategy - Interface in org.apache.commons.betwixt.strategy
Strategy to determine whether to show an attribute at all.

B

BadCharacterReplacingNMapper - Class in org.apache.commons.betwixt.strategy
NameMapper implementation that processes a name by replacing or stripping illegal characters before passing result down the chain.
BadCharacterReplacingNMapper(NameMapper) - Constructor for class org.apache.commons.betwixt.strategy.BadCharacterReplacingNMapper
Constructs a replacing mapper which delegates to given mapper.
BaseMixedContentEncodingStrategy - Class in org.apache.commons.betwixt.strategy
Basic implementation for MixedContentEncodingStrategy supports variations of most common use case.
BaseMixedContentEncodingStrategy() - Constructor for class org.apache.commons.betwixt.strategy.BaseMixedContentEncodingStrategy
 
BeanBindAction - Class in org.apache.commons.betwixt.io.read
Action that creates and binds a new bean instance.
BeanBindAction() - Constructor for class org.apache.commons.betwixt.io.read.BeanBindAction
 
BeanCreateRule - Class in org.apache.commons.betwixt.io
Deprecated. 0.5 this Rule does not allowed good integration with other Rules - use BeanRuleSet instead.
BeanCreateRule(ElementDescriptor, Class, String) - Constructor for class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Convenience constructor which uses ID's for matching.
BeanCreateRule(ElementDescriptor, Class, String, boolean) - Constructor for class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Constructor taking a class.
BeanCreateRule(ElementDescriptor, Class) - Constructor for class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Convenience constructor which uses ID's for matching.
BeanCreateRule(ElementDescriptor, Class, boolean) - Constructor for class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Constructor uses standard qualified name.
BeanCreateRule(ElementDescriptor, Context, String) - Constructor for class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Convenience constructor which uses ID's for match.
BeanCreateRule(ElementDescriptor, Context, String, boolean) - Constructor for class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Constructor taking a context.
BeanCreationChain - Class in org.apache.commons.betwixt.io.read
A Chain of bean creators.
BeanCreationChain() - Constructor for class org.apache.commons.betwixt.io.read.BeanCreationChain
 
BeanCreationList - Class in org.apache.commons.betwixt.io.read
Chain implementation that's backed by a list.
BeanCreationList() - Constructor for class org.apache.commons.betwixt.io.read.BeanCreationList
 
BeanProperty - Class in org.apache.commons.betwixt
Betwixt-centric view of a bean (or pseudo-bean) property.
BeanProperty(String, Class, Expression, Updater) - Constructor for class org.apache.commons.betwixt.BeanProperty
Construct a BeanProperty.
BeanProperty(PropertyDescriptor) - Constructor for class org.apache.commons.betwixt.BeanProperty
Constructs a BeanProperty from a PropertyDescriptor.
BeanProperty(DynaProperty) - Constructor for class org.apache.commons.betwixt.BeanProperty
Constructs a BeanProperty from a DynaProperty
BeanReader - Class in org.apache.commons.betwixt.io
BeanReader reads a tree of beans from an XML document.
BeanReader() - Constructor for class org.apache.commons.betwixt.io.BeanReader
Construct a new BeanReader with default properties.
BeanReader(SAXParser) - Constructor for class org.apache.commons.betwixt.io.BeanReader
Construct a new BeanReader, allowing a SAXParser to be passed in.
BeanReader(XMLReader) - Constructor for class org.apache.commons.betwixt.io.BeanReader
Construct a new BeanReader, allowing an XMLReader to be passed in.
BeanRuleSet - Class in org.apache.commons.betwixt.io
Sets Betwixt digestion rules for a bean class.
BeanRuleSet(XMLIntrospector, String, ElementDescriptor, Class, boolean) - Constructor for class org.apache.commons.betwixt.io.BeanRuleSet
Deprecated. 0.5 use constructor which takes a ReadContext instead
BeanRuleSet(XMLIntrospector, String, ElementDescriptor, Context) - Constructor for class org.apache.commons.betwixt.io.BeanRuleSet
Deprecated. 0.6 use the constructor which takes a ReadContext instead
BeanRuleSet(XMLIntrospector, String, ElementDescriptor, Class, Context) - Constructor for class org.apache.commons.betwixt.io.BeanRuleSet
Deprecated. 0.5 use the constructor which takes a ReadContext instead
BeanRuleSet(XMLIntrospector, String, ElementDescriptor, Class, ReadContext) - Constructor for class org.apache.commons.betwixt.io.BeanRuleSet
Base constructor.
BeanWriter - Class in org.apache.commons.betwixt.io
BeanWriter outputs beans as XML to an io stream.
BeanWriter() - Constructor for class org.apache.commons.betwixt.io.BeanWriter
Constructor uses System.out for output.
BeanWriter(OutputStream) - Constructor for class org.apache.commons.betwixt.io.BeanWriter
Constuctor uses given OutputStream for output.
BeanWriter(OutputStream, String) - Constructor for class org.apache.commons.betwixt.io.BeanWriter
Constuctor uses given OutputStream for output and allows encoding to be set.
BeanWriter(Writer) - Constructor for class org.apache.commons.betwixt.io.BeanWriter
Constructor sets writer used for output.
begin(String, String, Attributes) - Method in class org.apache.commons.betwixt.digester.AddDefaultsRule
Process the beginning of this element.
begin(String, String, Attributes) - Method in class org.apache.commons.betwixt.digester.AttributeRule
Process the beginning of this element.
begin(Attributes) - Method in class org.apache.commons.betwixt.digester.ClassRule
Process the beginning of this element.
begin(Attributes) - Method in class org.apache.commons.betwixt.digester.ConfigRule
Process the beginning of this element.
begin(String, String, Attributes) - Method in class org.apache.commons.betwixt.digester.ElementRule
Process the beginning of this element.
begin(String, String, Attributes) - Method in class org.apache.commons.betwixt.digester.HideRule
Process the beginning of this element.
begin(String, String, Attributes) - Method in class org.apache.commons.betwixt.digester.InfoRule
Process the beginning of this element.
begin(String, String, Attributes) - Method in class org.apache.commons.betwixt.digester.OptionRule
 
begin(String, String, Attributes) - Method in class org.apache.commons.betwixt.digester.TextRule
Process the beginning of this element.
begin(Attributes) - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Process the beginning of this element.
begin(String, String, Attributes, ReadContext) - Method in class org.apache.commons.betwixt.io.read.ArrayBindAction
Mapping arrays requires the addition of a temporary object (an ArrayList) into the stack together with an updater for that object.
begin(String, String, Attributes, ReadContext) - Method in class org.apache.commons.betwixt.io.read.BeanBindAction
Begins a new element which is to be bound to a bean.
begin(String, String, Attributes, ReadContext) - Method in class org.apache.commons.betwixt.io.read.MappingAction.Base
 
begin(String, String, Attributes, ReadContext) - Method in class org.apache.commons.betwixt.io.read.MappingAction
Executes mapping action on new element.
bind(String, Class, IntrospectionConfiguration) - Method in class org.apache.commons.betwixt.strategy.SimpleTypeMapper
Specifies the binding of a simple type.
bind(String, Class, IntrospectionConfiguration) - Method in class org.apache.commons.betwixt.strategy.StandardSimpleTypeMapper
Implementation binds as per configuration
BindingConfiguration - Class in org.apache.commons.betwixt
Stores mapping phase binding configuration.
BindingConfiguration() - Constructor for class org.apache.commons.betwixt.BindingConfiguration
Constructs a BindingConfiguration with default properties.
BindingConfiguration(ObjectStringConverter, boolean) - Constructor for class org.apache.commons.betwixt.BindingConfiguration
Constructs a BindingConfiguration
bindingType(Class) - Method in class org.apache.commons.betwixt.strategy.TypeBindingStrategy
Gets the binding type to be used for the given Java type.
bindingType(Class) - Method in class org.apache.commons.betwixt.strategy.TypeBindingStrategy.Default
Gets the binding type to be used for the given Java type.
body(String, ReadContext) - Method in class org.apache.commons.betwixt.io.read.BeanBindAction
 
body(String, ReadContext) - Method in class org.apache.commons.betwixt.io.read.MappingAction.Base
 
body(String, ReadContext) - Method in class org.apache.commons.betwixt.io.read.MappingAction
Executes mapping action for element body text
body(String, ReadContext) - Method in class org.apache.commons.betwixt.io.read.SimpleTypeBindAction
 
bodyText(WriteContext, String) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Writes body text
bodyText(String) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 use AbstractBeanWriter.bodyText(WriteContext, String)
bodyText(WriteContext, String) - Method in class org.apache.commons.betwixt.io.BeanWriter
Write element body text
bodyText(WriteContext, String) - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
Express body text

C

CapitalizeNameMapper - Class in org.apache.commons.betwixt.strategy
A beanmapper which converts a type to start with an uppercase.
CapitalizeNameMapper() - Constructor for class org.apache.commons.betwixt.strategy.CapitalizeNameMapper
 
CDATA - Static variable in class org.apache.commons.betwixt.strategy.MixedContentEncodingStrategy
Encodes element content within a CDATA section.
CDATA_ENCODING - Static variable in class org.apache.commons.betwixt.strategy.MixedContentEncodingStrategy
The option value for CDATA
ChainedBeanCreator - Interface in org.apache.commons.betwixt.io.read
Creator of beans that may delegate responsibility to members down the chain.
ChainedBeanCreatorFactory - Class in org.apache.commons.betwixt.io.read
Group of factory methods for ChainedBeanCreator's.
ChainedBeanCreatorFactory() - Constructor for class org.apache.commons.betwixt.io.read.ChainedBeanCreatorFactory
 
ClassNameExpression - Class in org.apache.commons.betwixt.expression
ClassNameExpression returns the current class name of the context bean
ClassNameExpression() - Constructor for class org.apache.commons.betwixt.expression.ClassNameExpression
Base constructor
ClassNameSchemaNamingStrategy - Class in org.apache.commons.betwixt.schema.strategy.impl
Names schema types from the property type of the descriptor
ClassNameSchemaNamingStrategy() - Constructor for class org.apache.commons.betwixt.schema.strategy.impl.ClassNameSchemaNamingStrategy
 
ClassNormalizer - Class in org.apache.commons.betwixt.strategy
Class normalization strategy.
ClassNormalizer() - Constructor for class org.apache.commons.betwixt.strategy.ClassNormalizer
 
ClassRule - Class in org.apache.commons.betwixt.digester
Digester Rule to process class elements.
ClassRule() - Constructor for class org.apache.commons.betwixt.digester.ClassRule
Base constructor.
clearBeanCreators() - Method in class org.apache.commons.betwixt.io.read.BeanCreationList
Clears the creator chain.
clearBeans() - Method in class org.apache.commons.betwixt.io.read.ReadContext
Clears the beans indexed by id.
close() - Method in class org.apache.commons.betwixt.io.BeanWriter
Closes the underlying output stream
CollectionUpdater - Class in org.apache.commons.betwixt.expression
Updates a Collection by adding the new value to it.
CollectionUpdater() - Constructor for class org.apache.commons.betwixt.expression.CollectionUpdater
 
CollectiveTypeStrategy - Class in org.apache.commons.betwixt.strategy
Specifies which types should be regarded as collective
CollectiveTypeStrategy() - Constructor for class org.apache.commons.betwixt.strategy.CollectiveTypeStrategy
 
CollectiveTypeStrategy.Default - Class in org.apache.commons.betwixt.strategy
Default collective type strategy
CollectiveTypeStrategy.Default() - Constructor for class org.apache.commons.betwixt.strategy.CollectiveTypeStrategy.Default
 
CommonRuleSet - Class in org.apache.commons.betwixt.digester
Rules common to both MultiMappingBeanInfoDigester and XMLBeanInfoDigester.
CommonRuleSet() - Constructor for class org.apache.commons.betwixt.digester.CommonRuleSet
 
COMPLEX - Static variable in class org.apache.commons.betwixt.strategy.TypeBindingStrategy.BindingType
Indicates that the java type should be bound to a complex xml type.
ComplexLocalElement - Class in org.apache.commons.betwixt.schema
 
ComplexLocalElement(TranscriptionConfiguration, ElementDescriptor, Schema) - Constructor for class org.apache.commons.betwixt.schema.ComplexLocalElement
 
ComplexType - Class in org.apache.commons.betwixt.schema
Models a complexType.
ComplexType() - Constructor for class org.apache.commons.betwixt.schema.ComplexType
 
ComplexType(TranscriptionConfiguration, ElementDescriptor, Schema) - Constructor for class org.apache.commons.betwixt.schema.ComplexType
 
ConfigRule - Class in org.apache.commons.betwixt.digester
Digester Rule to process config elements.
ConfigRule() - Constructor for class org.apache.commons.betwixt.digester.ConfigRule
Base constructor.
configure() - Method in class org.apache.commons.betwixt.digester.MultiMappingBeanInfoDigester
Reset configure for new digestion.
configure() - Method in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Reset configure for new digestion
configureDescriptor(AttributeDescriptor) - Method in class org.apache.commons.betwixt.digester.AttributeRule
Set the Expression and Updater from a bean property name
configureDescriptor(ElementDescriptor) - Method in class org.apache.commons.betwixt.digester.ElementRule
Sets the Expression and Updater from a bean property name Uses the default updater (from the standard java bean property).
configureDescriptor(ElementDescriptor, String) - Method in class org.apache.commons.betwixt.digester.ElementRule
Deprecated. now calls #configureDescriptor(ElementDescriptor, String, boolean) which allow accessibility to be forced. The subclassing API was not really considered carefully when this class was created. If anyone subclasses this method please contact the mailing list and suitable hooks will be placed into the code.
configureProperty(ElementDescriptor, PropertyDescriptor) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Deprecated. 0.6 unused
configureProperty(ElementDescriptor, PropertyDescriptor, String, Class) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Deprecated. 0.6 moved into ElementRule
configureProperty(AttributeDescriptor, PropertyDescriptor) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Deprecated. 0.6 moved into AttributeRule
ConstantExpression - Class in org.apache.commons.betwixt.expression
ConstantExpression represents a constant expression.
ConstantExpression() - Constructor for class org.apache.commons.betwixt.expression.ConstantExpression
Base constructor
ConstantExpression(Object) - Constructor for class org.apache.commons.betwixt.expression.ConstantExpression
Convenience constructor sets value property.
Context - Class in org.apache.commons.betwixt.expression
Context describes the context used to evaluate bean expressions.
Context() - Constructor for class org.apache.commons.betwixt.expression.Context
Construct context with default log
Context(Object, Log) - Constructor for class org.apache.commons.betwixt.expression.Context
Deprecated. 0.5 use constructor which takes a BindingConfiguration
Context(Object, Log, BindingConfiguration) - Constructor for class org.apache.commons.betwixt.expression.Context
Convenience constructor sets evaluted bean and log.
Context(Context) - Constructor for class org.apache.commons.betwixt.expression.Context
Construct a cloned context.
Context(Object, Map, Log) - Constructor for class org.apache.commons.betwixt.expression.Context
Deprecated. 0.5 use constructor which takes a converter
Context(Object, Map, Log, BindingConfiguration) - Constructor for class org.apache.commons.betwixt.expression.Context
Convenience constructor sets evaluted bean, context variables and log.
convertChar(char) - Method in class org.apache.commons.betwixt.strategy.HyphenatedNameMapper
Performs type conversion on the given character based on whether upper or lower case conversions are being used
ConvertUtilsObjectStringConverter - Class in org.apache.commons.betwixt.strategy
String <-> object conversion strategy that delegates to ConvertUtils.
ConvertUtilsObjectStringConverter() - Constructor for class org.apache.commons.betwixt.strategy.ConvertUtilsObjectStringConverter
 
create(ElementMapping, ReadContext) - Method in class org.apache.commons.betwixt.io.read.BeanCreationChain
Create a bean for the given mapping in the given context.
create(ElementMapping, ReadContext) - Method in class org.apache.commons.betwixt.io.read.BeanCreationList
Creates an Object based on the given element mapping and read context.
create(ElementMapping, ReadContext, BeanCreationChain) - Method in interface org.apache.commons.betwixt.io.read.ChainedBeanCreator
Creates a bean either directly or by delegating the responsibility to the other members of the chain.
createBean(Attributes) - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Factory method to create new bean instances
createBean(String, String, Attributes, ElementDescriptor, ReadContext) - Method in class org.apache.commons.betwixt.io.read.BeanBindAction
Factory method to create new bean instances
createDefault() - Static method in class org.apache.commons.betwixt.strategy.IdStoringStrategy
Factory method creates the default Betwixt implementation.
createDefaultChain() - Static method in class org.apache.commons.betwixt.io.read.BeanCreationChain
Creates the default BeanCreationChain used when reading beans.
createDerivedBeanCreator() - Static method in class org.apache.commons.betwixt.io.read.ChainedBeanCreatorFactory
Creates a ChainedBeanCreator that constructs derived beans.
createDescriptor(PropertyDescriptor, boolean, XMLIntrospector) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Deprecated. 0.5 this method has been replaced by XMLIntrospector.createDescriptor(java.beans.PropertyDescriptor, boolean)
createDescriptor(PropertyDescriptor, boolean) - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.5 use XMLIntrospector.createXMLDescriptor(org.apache.commons.betwixt.BeanProperty).
createElementTypeBeanCreator() - Static method in class org.apache.commons.betwixt.io.read.ChainedBeanCreatorFactory
Creates a ChainedBeanCreator that constructs beans based on element type.
createIDREFBeanCreator() - Static method in class org.apache.commons.betwixt.io.read.ChainedBeanCreatorFactory
Creates a ChainedBeanCreator that finds existing beans based on their IDREF.
createMappingAction(ElementDescriptor) - Static method in class org.apache.commons.betwixt.io.read.ArrayBindAction
Factory method creates implementations to map arrays.
createNameMapper() - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
A Factory method to lazily create a strategy used to convert bean type names into element names.
createNameMapper() - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.6 this method has been moved into IntrospectionConfiguration. Those who need to vary this should subclass that class instead
createPluralStemmer() - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
A Factory method to lazily create a new strategy to detect matching singular and plural properties.
createPluralStemmer() - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.6 this method has been moved into IntrospectionConfiguration. Those who need to vary this should subclass that class instead
createSchemaBindingConfiguration() - Method in class org.apache.commons.betwixt.schema.SchemaTranscriber
Gets a BindingConfiguration that is suitable for mapping Schema.
createSchemaIntrospectionConfiguration() - Method in class org.apache.commons.betwixt.schema.SchemaTranscriber
Gets an IntrospectionConfiguration that is suitable for introspecting Schema.
createStandardChain() - Static method in class org.apache.commons.betwixt.io.read.BeanCreationList
Creates the default BeanCreationChain used when reading beans.
createXMLBeanInfo(DynaClass) - Method in class org.apache.commons.betwixt.XMLIntrospector
Creates XMLBeanInfo for the given DynaClass.
createXMLBeanInfo(BeanInfo) - Method in class org.apache.commons.betwixt.XMLIntrospector
Factory method to create XMLBeanInfo instances
createXMLDescriptor(IntrospectionConfiguration) - Method in class org.apache.commons.betwixt.BeanProperty
Create a XML descriptor from a bean one.
createXMLDescriptor(BeanProperty) - Method in class org.apache.commons.betwixt.XMLIntrospector
Create a XML descriptor from a bean one.
currentMappingAction() - Method in class org.apache.commons.betwixt.io.read.ReadContext
Gets the current mapping action
CyclicReferenceException - Exception in org.apache.commons.betwixt.io
Thrown when bean evaluation finds a cycle reference.
CyclicReferenceException() - Constructor for exception org.apache.commons.betwixt.io.CyclicReferenceException
Construct exception with default message.
CyclicReferenceException(String) - Constructor for exception org.apache.commons.betwixt.io.CyclicReferenceException
Construct exception with message

D

DataTypeMapper - Class in org.apache.commons.betwixt.schema
Maps Java simple data types into XML schema data types.
DataTypeMapper() - Constructor for class org.apache.commons.betwixt.schema.DataTypeMapper
 
DecapitalizeNameMapper - Class in org.apache.commons.betwixt.strategy
A name mapper which converts types to a decapitalized String.
DecapitalizeNameMapper() - Constructor for class org.apache.commons.betwixt.strategy.DecapitalizeNameMapper
 
DEFAULT - Static variable in class org.apache.commons.betwixt.strategy.ActionMappingStrategy
Default ActionMappingStrategy used by betwixt
DEFAULT - Static variable in interface org.apache.commons.betwixt.strategy.AttributeSuppressionStrategy
Default strategy: show all attributes.
DEFAULT - Static variable in class org.apache.commons.betwixt.strategy.CollectiveTypeStrategy
Default collective type strategy
DEFAULT - Static variable in interface org.apache.commons.betwixt.strategy.ElementSuppressionStrategy
Default strategy: show all elements.
DEFAULT - Static variable in class org.apache.commons.betwixt.strategy.IdStoringStrategy
Deprecated. do not use this singleton since it creates a static Map of all objects ever written. Use IdStoringStrategy.createDefault() instead
DEFAULT - Static variable in class org.apache.commons.betwixt.strategy.MappingDerivationStrategy
The default Betwixt strategy.
DEFAULT - Static variable in class org.apache.commons.betwixt.strategy.MixedContentEncodingStrategy
The standard implementation used by Betwixt by default.
DEFAULT - Static variable in class org.apache.commons.betwixt.strategy.PropertySuppressionStrategy
Default implementation suppresses the class property found on every object.
DEFAULT - Static variable in class org.apache.commons.betwixt.strategy.TypeBindingStrategy
The default Betwixt TypeBindingStrategy implementation.
DEFAULT - Static variable in class org.apache.commons.betwixt.strategy.ValueSuppressionStrategy
Default strategy is ValueSuppressionStrategy.SUPPRESS_EMPTY.
DefaultActionMappingStrategy - Class in org.apache.commons.betwixt.strategy
 
DefaultActionMappingStrategy() - Constructor for class org.apache.commons.betwixt.strategy.DefaultActionMappingStrategy
 
defaultAddMethods(XMLIntrospector, ElementDescriptor, Class) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Deprecated. 0.6 use the method in XMLIntrospector instead
defaultAddMethods(ElementDescriptor, Class) - Method in class org.apache.commons.betwixt.XMLIntrospector
Add any addPropety(PropertyType) methods as Updaters which are often used for 1-N relationships in beans.
defaultAddMethods(ElementDescriptor, Class, boolean) - Method in class org.apache.commons.betwixt.XMLIntrospector
Add any addPropety(PropertyType) methods as Updaters which are often used for 1-N relationships in beans.
DefaultDataTypeMapper - Class in org.apache.commons.betwixt.schema
Default DataTypeMapperimplementation.
DefaultDataTypeMapper() - Constructor for class org.apache.commons.betwixt.schema.DefaultDataTypeMapper
 
DefaultIdStoringStrategy - Class in org.apache.commons.betwixt.strategy
Stores every ID that given to it into an internal HashMap and returns it on request.
DefaultIdStoringStrategy() - Constructor for class org.apache.commons.betwixt.strategy.DefaultIdStoringStrategy
Constructs a IdStoringStrategy using a HashMap for storage.
DefaultIdStoringStrategy(Map, Map) - Constructor for class org.apache.commons.betwixt.strategy.DefaultIdStoringStrategy
Constructs a IdStoringStrategyusing the Map implementations provided for storage.
DefaultNameMapper - Class in org.apache.commons.betwixt.strategy
A default implementation of the name mapper.
DefaultNameMapper() - Constructor for class org.apache.commons.betwixt.strategy.DefaultNameMapper
 
DefaultObjectStringConverter - Class in org.apache.commons.betwixt.strategy
Default string <-> object conversion strategy.
DefaultObjectStringConverter() - Constructor for class org.apache.commons.betwixt.strategy.DefaultObjectStringConverter
 
DefaultPluralStemmer - Class in org.apache.commons.betwixt.strategy
A default implementation of the plural name stemmer which tests for some common english plural/singular patterns and then uses a simple starts-with algorithm
DefaultPluralStemmer() - Constructor for class org.apache.commons.betwixt.strategy.DefaultPluralStemmer
 
DefaultXMLBeanInfoRegistry - Class in org.apache.commons.betwixt.registry
The default caching implementation.
DefaultXMLBeanInfoRegistry() - Constructor for class org.apache.commons.betwixt.registry.DefaultXMLBeanInfoRegistry
 
deregisterBeanClass(Class) - Method in class org.apache.commons.betwixt.io.BeanReader
Remove the given class from the register.
Descriptor - Class in org.apache.commons.betwixt
Describes a content node mapping.
Descriptor() - Constructor for class org.apache.commons.betwixt.Descriptor
Base constructor
DynaBeanExpression - Class in org.apache.commons.betwixt.expression
An Expression that gets a property value from a DynaBean.
DynaBeanExpression() - Constructor for class org.apache.commons.betwixt.expression.DynaBeanExpression
Crates a new DynaBeanExpression.
DynaBeanExpression(String) - Constructor for class org.apache.commons.betwixt.expression.DynaBeanExpression
Crates a new DynaBeanExpression.
DynaBeanUpdater - Class in org.apache.commons.betwixt.expression
Updates DynaBean's.
DynaBeanUpdater(DynaProperty) - Constructor for class org.apache.commons.betwixt.expression.DynaBeanUpdater
Constructs a DynaBeanUpdater for given DynaProperty.
DynaBeanUpdater(String, Class) - Constructor for class org.apache.commons.betwixt.expression.DynaBeanUpdater
Constructs a DynaBeanUpdater for the given type and property name.

E

Element - Interface in org.apache.commons.betwixt.schema
Implmented by element definition.
ELEMENT - Static variable in class org.apache.commons.betwixt.strategy.SimpleTypeMapper.Binding
 
ElementDescriptor - Class in org.apache.commons.betwixt
ElementDescriptor describes the XML elements to be created for a bean instance.
ElementDescriptor() - Constructor for class org.apache.commons.betwixt.ElementDescriptor
Constructs an ElementDescriptor that refers to a primitive type.
ElementDescriptor(boolean) - Constructor for class org.apache.commons.betwixt.ElementDescriptor
Deprecated. 0.6 PrimitiveType property has been removed
ElementDescriptor(String) - Constructor for class org.apache.commons.betwixt.ElementDescriptor
Creates a ElementDescriptor with no namespace URI or prefix.
ElementDescriptor(String, String, String) - Constructor for class org.apache.commons.betwixt.ElementDescriptor
Creates a ElementDescriptor with namespace URI and qualified name
ElementMapping - Class in org.apache.commons.betwixt.io.read
Describes a mapping between an xml element and a betwixt element.
ElementMapping() - Constructor for class org.apache.commons.betwixt.io.read.ElementMapping
Base constructor
ElementReference - Class in org.apache.commons.betwixt.schema
 
ElementReference(String, GlobalComplexType) - Constructor for class org.apache.commons.betwixt.schema.ElementReference
 
ElementReference(String, String) - Constructor for class org.apache.commons.betwixt.schema.ElementReference
 
ElementReference(TranscriptionConfiguration, ElementDescriptor, Schema) - Constructor for class org.apache.commons.betwixt.schema.ElementReference
 
ElementRule - Class in org.apache.commons.betwixt.digester
ElementRule the digester Rule for parsing the <element> elements.
ElementRule() - Constructor for class org.apache.commons.betwixt.digester.ElementRule
Base constructor
elements - Variable in class org.apache.commons.betwixt.schema.ComplexType
 
ElementSchemaNamingStrategy - Class in org.apache.commons.betwixt.schema.strategy.impl
Strategy uses the name of the element for the complex type
ElementSchemaNamingStrategy() - Constructor for class org.apache.commons.betwixt.schema.strategy.impl.ElementSchemaNamingStrategy
 
ElementSuppressionStrategy - Interface in org.apache.commons.betwixt.strategy
Strategy to determine whether to show an element at all.
EMPTY - Static variable in class org.apache.commons.betwixt.io.read.MappingAction
 
EmptyExpression - Class in org.apache.commons.betwixt.expression
EmptyExpression returns the same value as is passed in.
EmptyExpression() - Constructor for class org.apache.commons.betwixt.expression.EmptyExpression
Should this be private?
enablePrettyPrint() - Method in class org.apache.commons.betwixt.io.BeanWriter
Switch on formatted output.
encode(String, ElementDescriptor) - Method in class org.apache.commons.betwixt.strategy.BaseMixedContentEncodingStrategy
Encodes the given body content by either escaping the character data or by encoding within a CDATA section.
encode(String, ElementDescriptor) - Method in class org.apache.commons.betwixt.strategy.MixedContentEncodingStrategy
Encodes the body content into a form suitable for output as (textual) xml.
encodeAsCDATA(ElementDescriptor) - Method in class org.apache.commons.betwixt.strategy.BaseMixedContentEncodingStrategy
Should the element described by the given ElementDescriptor be encoded as a CDATA section?
encodeInCDATA(String) - Method in class org.apache.commons.betwixt.strategy.BaseMixedContentEncodingStrategy
Wraps the given content into a CDATA section.
ENCODING_OPTION_NAME - Static variable in class org.apache.commons.betwixt.strategy.MixedContentEncodingStrategy
The name of the option used to specify encoding on a per-element basis is org.apache.commons.betwixt.mixed-content-encoding
end(String, String) - Method in class org.apache.commons.betwixt.digester.AttributeRule
Process the end of this element.
end() - Method in class org.apache.commons.betwixt.digester.ClassRule
Process the end of this element.
end() - Method in class org.apache.commons.betwixt.digester.ConfigRule
Process the end of this element.
end(String, String) - Method in class org.apache.commons.betwixt.digester.ElementRule
Process the end of this element.
end(String, String) - Method in class org.apache.commons.betwixt.digester.InfoRule
Process the end of this element.
end(String, String) - Method in class org.apache.commons.betwixt.digester.OptionRule
 
end() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Marks the start of the bean writing.
end() - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Process the end of this element.
end(ReadContext) - Method in class org.apache.commons.betwixt.io.read.ArrayBindAction
Pops the ArrayList and the updater from their stacks.
end(ReadContext) - Method in class org.apache.commons.betwixt.io.read.BeanBindAction
 
end(ReadContext) - Method in class org.apache.commons.betwixt.io.read.MappingAction.Base
 
end(ReadContext) - Method in class org.apache.commons.betwixt.io.read.MappingAction
Executes mapping action one element ends
end() - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
This method will announce the end of the document to the contenthandler.
endElement(WriteContext, String, String, String) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Writes the end tag for an element
endElement(String, String, String) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 use AbstractBeanWriter.endElement(WriteContext, String, String, String)
endElement(WriteContext, String, String, String) - Method in class org.apache.commons.betwixt.io.BeanWriter
Writes the end tag for an element
endElement(WriteContext, String, String, String) - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
Writes the end tag for an element
equals(Object) - Method in class org.apache.commons.betwixt.schema.Attribute
 
equals(Object) - Method in class org.apache.commons.betwixt.schema.GlobalComplexType
 
equals(Object) - Method in class org.apache.commons.betwixt.schema.GlobalElement
 
equals(Object) - Method in class org.apache.commons.betwixt.schema.LocalComplexType
 
equals(Object) - Method in class org.apache.commons.betwixt.schema.Schema
 
equals(Object) - Method in class org.apache.commons.betwixt.schema.SimpleLocalElement
 
equals(Object) - Method in class org.apache.commons.betwixt.schema.SimpleType
 
equals(Object) - Method in class org.apache.commons.betwixt.strategy.SimpleTypeMapper.Binding
Equals compatible with the enumeration.
equals(Object) - Method in class org.apache.commons.betwixt.strategy.TypeBindingStrategy.BindingType
 
escapeAttributeValue(Object) - Method in class org.apache.commons.betwixt.io.BeanWriter
Deprecated. 0.5 moved into utility class XMLUtils.escapeAttributeValue(java.lang.Object)
escapeAttributeValue(Object) - Static method in class org.apache.commons.betwixt.XMLUtils
Escape the toString of the given object.
escapeBodyValue(Object) - Method in class org.apache.commons.betwixt.io.BeanWriter
Deprecated. 0.5 moved into utility class XMLUtils.escapeBodyValue(java.lang.Object)
escapeBodyValue(Object) - Static method in class org.apache.commons.betwixt.XMLUtils
Escape the toString of the given object.
escapeCDATAContent(String) - Static method in class org.apache.commons.betwixt.XMLUtils
Escapes the given content suitable for insertion within a CDATA sequence.
escapeCDATAContent(StringBuffer) - Static method in class org.apache.commons.betwixt.XMLUtils
Escapes the given content suitable for insertion within a CDATA sequence.
escapeCharacters(String) - Method in class org.apache.commons.betwixt.strategy.BaseMixedContentEncodingStrategy
Escapes a sequence of body content.
ESCAPED_CHARACTERS - Static variable in class org.apache.commons.betwixt.strategy.MixedContentEncodingStrategy
Encodes by escaping character data.
evaluate(Context) - Method in class org.apache.commons.betwixt.expression.ClassNameExpression
Evaluate on the current context and return the class name
evaluate(Context) - Method in class org.apache.commons.betwixt.expression.ConstantExpression
Evaluate expression against given context.
evaluate(Context) - Method in class org.apache.commons.betwixt.expression.DynaBeanExpression
Returns the value of a DynaBean property from the bean stored in the Context.
evaluate(Context) - Method in class org.apache.commons.betwixt.expression.EmptyExpression
Return the bean we're evaluating.
evaluate(Context) - Method in interface org.apache.commons.betwixt.expression.Expression
Evaluates the expression on the bean with the given context and returns the result
evaluate(Context) - Method in class org.apache.commons.betwixt.expression.IteratorExpression
Returns an interator over the current context
evaluate(Context) - Method in class org.apache.commons.betwixt.expression.MethodExpression
Evaluate by calling the read method on the current bean
evaluate(Context) - Method in class org.apache.commons.betwixt.expression.StringExpression
Return the context bean as a string
evaluate(Context) - Method in class org.apache.commons.betwixt.expression.VariableExpression
Return the value of a context variable.
executeUpdate(Context, Object, Object) - Method in class org.apache.commons.betwixt.expression.DynaBeanUpdater
Executes the update on the given code>DynaBean
executeUpdate(Context, Object, Object) - Method in class org.apache.commons.betwixt.expression.MethodUpdater
Updates the bean by method invocation.
executeUpdate(Context, Object, Object) - Method in class org.apache.commons.betwixt.expression.TypedUpdater
Updates the bean with the given value.
expressAttribute(String, String) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
expressAttribute(String, String, String, String) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
expressAttribute(String, String) - Method in class org.apache.commons.betwixt.io.BeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
expressBodyText(String) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
expressBodyText(String) - Method in class org.apache.commons.betwixt.io.BeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
expressElementEnd(String) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
expressElementEnd(String, String, String) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
expressElementEnd() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
expressElementEnd(String) - Method in class org.apache.commons.betwixt.io.BeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
expressElementEnd() - Method in class org.apache.commons.betwixt.io.BeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
expressElementStart(String) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
expressElementStart(String, String, String) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
expressElementStart(String) - Method in class org.apache.commons.betwixt.io.BeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
Expression - Interface in org.apache.commons.betwixt.expression
Expression represents an arbitrary expression on a bean.
expressTagClose() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
expressTagClose() - Method in class org.apache.commons.betwixt.io.BeanWriter
Deprecated. 0.5 replaced by new SAX inspired API

F

fill(TranscriptionConfiguration, ElementDescriptor, Schema) - Method in class org.apache.commons.betwixt.schema.GlobalComplexType
Fills the complex type description.
fillDescriptor(ElementDescriptor, Schema) - Method in class org.apache.commons.betwixt.schema.ComplexType
Fills the given descriptor
findAlternateMethod(Class, Method) - Method in class org.apache.commons.betwixt.expression.MethodExpression
Tries to find an alternate method for the given type using interfaces which gets around the problem of inner classes, such as on Map.Entry implementations.
findByXMLDescriptor(Class) - Method in class org.apache.commons.betwixt.XMLIntrospector
Attempt to lookup the XML descriptor for the given class using the classname + ".betwixt" using the same ClassLoader used to load the class or return null if it could not be loaded
findGetCollectionDescriptor(XMLIntrospector, ElementDescriptor, String) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Deprecated. 0.6 moved into XMLIntrospector
findParent(ElementDescriptor) - Method in class org.apache.commons.betwixt.ElementDescriptor
Finds the parent of the given descriptor.
findPluralDescriptor(String, Map) - Method in class org.apache.commons.betwixt.strategy.DefaultPluralStemmer
Algorithm supports common english plural patterns.
findPluralDescriptor(String, Map) - Method in interface org.apache.commons.betwixt.strategy.PluralStemmer
Find the plural descriptor for a singular property.
finish() - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Tidy up.
FLAVOUR_OPTION_NAME - Static variable in class org.apache.commons.betwixt.strategy.ObjectStringConverter
Standard name for option giving flavour
flush() - Method in class org.apache.commons.betwixt.io.BeanWriter
Allows output to be flushed on the underlying output stream
flush() - Method in class org.apache.commons.betwixt.registry.DefaultXMLBeanInfoRegistry
Flush existing cached XMLBeanInfo's.
flush() - Method in class org.apache.commons.betwixt.registry.NoCacheRegistry
Nothing cached so nothing to flush
flush() - Method in interface org.apache.commons.betwixt.registry.XMLBeanInfoRegistry
Flush or resets the current registry to it's original state.
flushCache() - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.5 use flushable registry instead
flushRegisteredBeanClasses() - Method in class org.apache.commons.betwixt.io.BeanReader
Flush all registered bean classes.

G

generate(Class) - Method in class org.apache.commons.betwixt.schema.SchemaTranscriber
Generates an XML Schema model for the given class.
generate(XMLBeanInfo) - Method in class org.apache.commons.betwixt.schema.SchemaTranscriber
Generates an XML Schema model from the given XMLBeanInfo
generatePrefix(String) - Method in class org.apache.commons.betwixt.strategy.NamespacePrefixMapper
Generates a prefix for the given namespace Uri.
get(Class) - Method in class org.apache.commons.betwixt.registry.DefaultXMLBeanInfoRegistry
Get XMLBeanInfo from cache.
get(Class) - Method in class org.apache.commons.betwixt.registry.NoCacheRegistry
Always return null.
get(Class) - Method in interface org.apache.commons.betwixt.registry.XMLBeanInfoRegistry
Get the XMLBeanInfo for the given class.
getAbstractBeanWriterLog() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Gets the current logging implementation.
getActionMappingStrategy() - Method in class org.apache.commons.betwixt.io.read.ReadConfiguration
Gets the ActionMappingStrategy used to define default mapping actions.
getActionMappingStrategy() - Method in class org.apache.commons.betwixt.io.read.ReadContext
Gets the strategy used to define default mappings actions for elements.
getArguments() - Method in class org.apache.commons.betwixt.expression.MethodExpression
Allows derived objects to create arguments for the method call
getAttributeDescriptor(String) - Method in class org.apache.commons.betwixt.ElementDescriptor
Returns an attribute descriptor with a given name or null.
getAttributeDescriptors() - Method in class org.apache.commons.betwixt.ElementDescriptor
Returns the attribute descriptors for this element
getAttributeList() - Method in class org.apache.commons.betwixt.ElementDescriptor
Lazily creates the mutable List.
getAttributeNameMapper() - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Gets the name mapping strategy used to convert bean names into attributes.
getAttributeNameMapper() - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.6 getConfiguration().getAttributeNameMapper
getAttributes() - Method in class org.apache.commons.betwixt.io.read.ElementMapping
Gets the element's attributes.
getAttributes() - Method in class org.apache.commons.betwixt.schema.ComplexType
Gets the attributes contained by this type.
getAttributeSuppressionStrategy() - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Returns the AttributeSuppressionStrategy.
getBean() - Method in class org.apache.commons.betwixt.expression.Context
Gets the current bean.
getBean(String) - Method in class org.apache.commons.betwixt.io.read.ReadContext
Gets a bean from storage by an (xml) ID.
getBean() - Method in class org.apache.commons.betwixt.io.read.ReadContext
 
getBeanClass() - Method in class org.apache.commons.betwixt.digester.RuleSupport
Gets the class of the bean whose .betwixt file is being digested
getBeanClass() - Method in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Gets the class of the bean whose .betwixt file is being processed
getBeanClass() - Method in class org.apache.commons.betwixt.XMLBeanInfo
Gets the beans class that this XML info refers to
getBeanCreationChain() - Method in class org.apache.commons.betwixt.io.read.ReadConfiguration
Gets the BeanCreationChain that should be used to construct beans.
getBeanCreationChain() - Method in class org.apache.commons.betwixt.io.read.ReadContext
Gets the BeanCreationChange to be used to create beans when an element is mapped.
getBeanInfoMap() - Method in class org.apache.commons.betwixt.digester.MultiMappingBeanInfoDigester
Map containing XMLBeanInfo classes.
getBeanReader() - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Get the associated bean reader.
getBeansById() - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Get the map used to index beans (previously read in) by id.
getBindingConfiguration() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Gets the dynamic configuration setting to be used for bean reading.
getBindingConfiguration() - Method in class org.apache.commons.betwixt.io.BeanReader
Gets the dynamic configuration setting to be used for bean reading.
getCallDocumentEvents() - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
Should document events (ie start and end) be called?
getClassLoader() - Method in class org.apache.commons.betwixt.io.read.ReadContext
Gets the classloader to be used.
getClassNameAttribute() - Method in class org.apache.commons.betwixt.BindingConfiguration
The name of the attribute which can be specified in the XML to override the type of a bean used at a certain point in the schema.
getClassNameAttribute() - Method in class org.apache.commons.betwixt.expression.Context
The name of the attribute which can be specified in the XML to override the type of a bean used at a certain point in the schema.
getClassNameAttribute() - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. The name of the attribute which can be specified in the XML to override the type of a bean used at a certain point in the schema.
getClassNameAttribute() - Method in class org.apache.commons.betwixt.io.BeanRuleSet
The name of the attribute which can be specified in the XML to override the type of a bean used at a certain point in the schema.
getClassNormalizer() - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Gets the ClassNormalizer strategy.
getClassNormalizer() - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.6 use getConfiguration().getClassNormalizer
getCollectiveTypeStrategy() - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Gets the strategy used to determine which types are collective.
getComplexType() - Method in class org.apache.commons.betwixt.schema.GlobalElement
Gets the anonymous type definition for this element, if one exists.
getComplexTypes() - Method in class org.apache.commons.betwixt.schema.Schema
Gets the complex types defined
getConfiguration() - Method in class org.apache.commons.betwixt.schema.SchemaTranscriber
Gets the configuration for the XMLBeanInfo to XML schema transcription.
getConfiguration() - Method in class org.apache.commons.betwixt.XMLIntrospector
Gets the configuration to be used for introspection.
getContentDescriptors() - Method in class org.apache.commons.betwixt.ElementDescriptor
Returns descriptors for the child content of the element this describes.
getContentList() - Method in class org.apache.commons.betwixt.ElementDescriptor
Lazily creates the mutable List of child content descriptors.
getContextExpression() - Method in class org.apache.commons.betwixt.ElementDescriptor
Returns the expression used to evaluate the new context of this element.
getCount() - Method in class org.apache.commons.betwixt.io.id.SequentialIDGenerator
Gets the current counter value
getCurrentDescriptor() - Method in class org.apache.commons.betwixt.io.read.ReadContext
Gets the ElementDescriptor that describes the mapping for the current element.
getCurrentDescriptor() - Method in class org.apache.commons.betwixt.io.WriteContext
Gets the descriptor for the element who content is currently being created.
getCurrentElement() - Method in class org.apache.commons.betwixt.io.read.ReadContext
Gets the element name for the currently mapped element.
getCurrentUpdater() - Method in class org.apache.commons.betwixt.io.read.ReadContext
Gets the current Updater.
getDataTypeMapper() - Method in class org.apache.commons.betwixt.schema.TranscriptionConfiguration
Gets the DataTypeMapper to be used during the transcription.
getDescriptor() - Method in class org.apache.commons.betwixt.io.read.ElementMapping
Gets the mapped element descriptor.
getElementDescriptor(String) - Method in class org.apache.commons.betwixt.ElementDescriptor
Gets a child ElementDescriptor matching the given name if one exists.
getElementDescriptor(ElementDescriptor) - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Allows the navigation from a reference to a property object to the descriptor defining what the property is.
getElementDescriptor() - Method in class org.apache.commons.betwixt.XMLBeanInfo
Gets descriptor for bean represention
getElementDescriptors() - Method in class org.apache.commons.betwixt.ElementDescriptor
Returns descriptors for the child elements of the element this describes.
getElementList() - Method in class org.apache.commons.betwixt.ElementDescriptor
Lazily creates the mutable List of child elements.
getElementNameMapper() - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Gets the name mapping strategy used to convert bean names into elements.
getElementNameMapper() - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.6 use getConfiguration().getElementNameMapper
getElements() - Method in class org.apache.commons.betwixt.schema.ComplexType
Gets the elements contained by this type
getElements() - Method in class org.apache.commons.betwixt.schema.Schema
Gets the elements definied
getElementSuppressionStrategy() - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Returns the ElementSuppressionStrategy.
getEndOfLine() - Method in class org.apache.commons.betwixt.io.BeanWriter
Gets the string used to mark end of lines.
getIDAttribute() - Method in class org.apache.commons.betwixt.XMLBeanInfo
Search attributes for one matching ID attribute name
getIDAttributeName() - Method in class org.apache.commons.betwixt.XMLBeanInfo
Get name of ID attribute.
getIdGenerator() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Get IDGenerator implementation used to generate ID attribute values .
getIdMappingStrategy() - Method in class org.apache.commons.betwixt.BindingConfiguration
Gets the strategy used to manage storage and retrieval of id's.
getIdMappingStrategy() - Method in class org.apache.commons.betwixt.expression.Context
Gets the strategy used to manage storage and retrieval of id's.
getIDREFAttributeName() - Method in class org.apache.commons.betwixt.XMLBeanInfo
Get IDREF attribute name This is used (for example) to deal with cyclic references.
getImplementationClass() - Method in class org.apache.commons.betwixt.ElementDescriptor
Gets the class which should be used for instantiation.
getIndent() - Method in class org.apache.commons.betwixt.io.BeanWriter
Gets the indent string
getIndentLevel() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
getInheritedOption(String) - Method in class org.apache.commons.betwixt.expression.Context
Gets the value of the first option with this name.
getInitialIndentLevel() - Method in class org.apache.commons.betwixt.io.BeanWriter
Gets the initial indent level
getInstance() - Static method in class org.apache.commons.betwixt.expression.CollectionUpdater
Gets singleton instance.
getInstance() - Static method in class org.apache.commons.betwixt.expression.EmptyExpression
Gets the singleton instance.
getInstance() - Static method in class org.apache.commons.betwixt.expression.StringExpression
Gets the singleton
getIntrospectionLog() - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Gets the common Log used for introspection.
getKeyUpdater() - Method in class org.apache.commons.betwixt.expression.MapEntryAdder
Gets the entry key Updater.
getLastId() - Method in class org.apache.commons.betwixt.io.id.AbstractIDGenerator
Gets last ID returned.
getLastId() - Method in interface org.apache.commons.betwixt.io.IDGenerator
Get the last ID value generated.
getLastMappedClass() - Method in class org.apache.commons.betwixt.io.read.ReadContext
Gets the Class that was last mapped, if there is one.
getLocalName() - Method in class org.apache.commons.betwixt.NodeDescriptor
Gets the local name, excluding any namespace prefix
getLog() - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Deprecated. Gets the current logging implementation.
getLog() - Method in class org.apache.commons.betwixt.expression.Context
Gets the current log.
getLog() - Method in class org.apache.commons.betwixt.io.BeanReader
Get the current level for logging.
getLog() - Method in class org.apache.commons.betwixt.io.BeanWriter
Set the log implementation used.
getLog() - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
Set the log implementation used.
getLog() - Method in class org.apache.commons.betwixt.XMLIntrospector
Gets the current logging implementation.
getMapIDs() - Method in class org.apache.commons.betwixt.BindingConfiguration
Should ID's and IDREF attributes be used to cross-reference matching objects?
getMapIDs() - Method in class org.apache.commons.betwixt.expression.Context
Should ID's and IDREF attributes be used to cross-reference matching objects?
getMappingAction(String, String, Attributes, ReadContext) - Method in class org.apache.commons.betwixt.strategy.ActionMappingStrategy
Gets the mapping action to map the given element.
getMappingAction(String, String, Attributes, ReadContext) - Method in class org.apache.commons.betwixt.strategy.DefaultActionMappingStrategy
Gets the mapping action to map the given element.
getMappingDerivationStrategy() - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Gets the MappingDerivationStrategy used to determine whether the bind or introspection time type should determine the mapping.
getMatchIDs() - Method in class org.apache.commons.betwixt.io.BeanReader
Deprecated. 0.5 use BindingConfiguration.getMapIDs()
getMaxOccurs() - Method in class org.apache.commons.betwixt.schema.ElementReference
 
getMaxOccurs() - Method in class org.apache.commons.betwixt.schema.LocalElement
 
getMethod() - Method in class org.apache.commons.betwixt.expression.MethodExpression
Gets the method used to evaluate this expression.
getMethod() - Method in class org.apache.commons.betwixt.expression.MethodUpdater
Gets the method which will be invoked by the update
getMinOccurs() - Method in class org.apache.commons.betwixt.schema.ElementReference
 
getMinOccurs() - Method in class org.apache.commons.betwixt.schema.LocalElement
 
getMixedContentEncodingStrategy() - Method in class org.apache.commons.betwixt.io.BeanWriter
Gets the encoding strategy for mixed content.
getName() - Method in class org.apache.commons.betwixt.io.read.ElementMapping
Gets the local name if the parser is namespace aware, otherwise the name.
getName() - Method in class org.apache.commons.betwixt.schema.Attribute
Gets the attribute name
getName() - Method in interface org.apache.commons.betwixt.schema.Element
 
getName() - Method in class org.apache.commons.betwixt.schema.GlobalComplexType
Gets the name of this type.
getName() - Method in class org.apache.commons.betwixt.schema.GlobalElement
Gets the element name
getName() - Method in class org.apache.commons.betwixt.schema.LocalElement
 
getName() - Method in class org.apache.commons.betwixt.schema.SimpleType
Gets the name
getNameMapper() - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.5 getNameMapper is split up in XMLIntrospector.getElementNameMapper() and XMLIntrospector.getAttributeNameMapper()
getNameRule() - Method in class org.apache.commons.betwixt.digester.OptionRule
Gets the rule that maps the name element associated with the option
getNames() - Method in class org.apache.commons.betwixt.Options
Gets the names of each option.
getNamespace() - Method in class org.apache.commons.betwixt.io.read.ElementMapping
Gets the namespace URI or an empty string if the parser is not namespace aware or the element has no namespace.
getNamespaceURI() - Method in class org.apache.commons.betwixt.io.BeanRuleSet
Gets the namespace associated with this ruleset.
getNormalizedClass(Object) - Method in class org.apache.commons.betwixt.strategy.ClassNormalizer
Gets the normalized class for the given Object.
getObjectStringConverter() - Method in class org.apache.commons.betwixt.BindingConfiguration
Gets the Object <-> String converter.
getObjectStringConverter() - Method in class org.apache.commons.betwixt.expression.Context
Gets object <-> string converter.
getOptions() - Method in class org.apache.commons.betwixt.Descriptor
Gets the options for this descriptor.
getOptions() - Method in class org.apache.commons.betwixt.expression.Context
Gets the current Options.
getPluralStemmer() - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Get singular and plural matching strategy.
getPluralStemmer() - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.6 use getConfiguration().getPluralStemmer
getPolymorphicReferenceResolver() - Method in class org.apache.commons.betwixt.XMLIntrospector
Gets the resolver for polymorphic references.
getPositiveIds() - Method in class org.apache.commons.betwixt.io.id.RandomIDGenerator
Gets whether only positive ID's should be generated
getPrefix(String) - Method in class org.apache.commons.betwixt.strategy.NamespacePrefixMapper
Gets the prefix to be used with the given namespace URI
getPrefixMapper() - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Gets the NamespacePrefixMapper used to convert namespace URIs into prefixes.
getPrimaryBodyTextDescriptor() - Method in class org.apache.commons.betwixt.ElementDescriptor
Gets the primary descriptor for body text of this element.
getProcessedPropertyNameSet() - Method in class org.apache.commons.betwixt.digester.RuleSupport
Gets the property names already processed
getProcessedPropertyNameSet() - Method in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Gets the property names already processed
getPropertyDescriptor(Class, String) - Method in class org.apache.commons.betwixt.digester.MappedPropertyRule
Returns the property descriptor for the class and property name.
getPropertyExpression() - Method in class org.apache.commons.betwixt.BeanProperty
Gets the expression used to read this property.
getPropertyName() - Method in class org.apache.commons.betwixt.BeanProperty
Gets the bean name for this property.
getPropertyName() - Method in class org.apache.commons.betwixt.Descriptor
Gets the name of the bean property to which this node refers
getPropertyName() - Method in class org.apache.commons.betwixt.expression.DynaBeanExpression
Gets the name of the property to get from the DynaBean.
getPropertySuppressionStrategy() - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Gets the strategy which determines the properties to be ignored.
getPropertyType() - Method in class org.apache.commons.betwixt.BeanProperty
Gets the type of this property.
getPropertyType() - Method in class org.apache.commons.betwixt.Descriptor
Gets the type of the bean property associated with this node, if any
getPropertyType(String, Class, String) - Method in class org.apache.commons.betwixt.digester.MappedPropertyRule
Gets the type of a property
getPropertyUpdater() - Method in class org.apache.commons.betwixt.BeanProperty
Gets the updater used to write to this properyty.
getQualifiedName() - Method in class org.apache.commons.betwixt.NodeDescriptor
Gets the qualified name, including any namespace prefix
getReadConfiguration() - Method in class org.apache.commons.betwixt.io.BeanReader
Gets read specific configuration details.
getReferenced(Context, String) - Method in class org.apache.commons.betwixt.strategy.DefaultIdStoringStrategy
Gets an object matching the given reference.
getReferenced(Context, String) - Method in class org.apache.commons.betwixt.strategy.IdStoringStrategy
Gets an object matching the given reference.
getReferenceFor(Context, Object) - Method in class org.apache.commons.betwixt.strategy.DefaultIdStoringStrategy
Returns a String id for the given bean if it has been stored previously.
getReferenceFor(Context, Object) - Method in class org.apache.commons.betwixt.strategy.IdStoringStrategy
Retrieves a reference for the given instance.
getRegistry() - Method in class org.apache.commons.betwixt.XMLIntrospector
Gets the current registry implementation.
getReplacement() - Method in class org.apache.commons.betwixt.strategy.BadCharacterReplacingNMapper
Gets the character that should be used to replace bad characters if null then bad characters will be deleted.
getRootClass() - Method in class org.apache.commons.betwixt.io.read.ReadContext
 
getRootElementDescriptor() - Method in class org.apache.commons.betwixt.digester.AddDefaultsRule
Gets an ElementDescriptor for the top on digester's stack.
getSchemaTypeNamingStrategy() - Method in class org.apache.commons.betwixt.schema.TranscriptionConfiguration
Gets the stategy to be used for naming types.
getSeparator() - Method in class org.apache.commons.betwixt.strategy.HyphenatedNameMapper
This separator will be inserted between the words in the bean name.
getSimpleTypeMapper() - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Gets the simple type binding strategy.
getSimpleTypes() - Method in class org.apache.commons.betwixt.schema.Schema
Gets the simple types defined.
getSingularPropertyType() - Method in class org.apache.commons.betwixt.Descriptor
Gets the underlying type ignoring any wrapping a Collection or Array.
getSize() - Method in class org.apache.commons.betwixt.io.read.BeanCreationList
Gets the number of BeanCreators in the wrapped chain.
getTextExpression() - Method in class org.apache.commons.betwixt.Descriptor
Gets the expression used to evaluate the text value of this node for a particular Context.
getType() - Method in class org.apache.commons.betwixt.io.read.ElementMapping
Gets the base type for this element.
getType() - Method in class org.apache.commons.betwixt.schema.Attribute
Gets the attribute type
getType() - Method in class org.apache.commons.betwixt.schema.ComplexLocalElement
 
getType() - Method in class org.apache.commons.betwixt.schema.GlobalElement
Gets the element type
getType() - Method in class org.apache.commons.betwixt.schema.SimpleLocalElement
 
getTypeBindingStrategy() - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Gets the TypeBindingStrategy to be used to determine the binding for Java types.
getUpdater() - Method in class org.apache.commons.betwixt.Descriptor
Gets the Updater used to update a Context from the text value corresponding to this node in an xml document
getURI() - Method in class org.apache.commons.betwixt.NodeDescriptor
Gets the (xml) namespace URI prefix for this node.
getValue() - Method in class org.apache.commons.betwixt.expression.ConstantExpression
Gets the constant value of this expression
getValue(String) - Method in class org.apache.commons.betwixt.Options
Gets the value (if any) associated with the given name.
getValueRule() - Method in class org.apache.commons.betwixt.digester.OptionRule
Gets the rule that maps the value element associated with the option
getValueSuppressionStrategy() - Method in class org.apache.commons.betwixt.BindingConfiguration
Gets the ValueSuppressionStrategy.
getValueSuppressionStrategy() - Method in class org.apache.commons.betwixt.expression.Context
Gets the ValueSuppressionStrategy.
getValueType() - Method in class org.apache.commons.betwixt.expression.TypedUpdater
Gets the type expected.
getValueUpdater() - Method in class org.apache.commons.betwixt.expression.MapEntryAdder
Gets the entry value Updater.
getVariable(String) - Method in class org.apache.commons.betwixt.expression.Context
Gets the value of a particular context variable.
getVariableName() - Method in class org.apache.commons.betwixt.expression.VariableExpression
Gets the variable name
getVariables() - Method in class org.apache.commons.betwixt.expression.Context
Gets context variables.
getWriteEmptyElements() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Gets whether empty elements should be written into the output.
getWriteIDs() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 use BindingConfiguration.getMapIDs()
getXMLInfoDigester() - Method in class org.apache.commons.betwixt.digester.RuleSupport
Gets XMLBeanInfoDigester using this rule.
getXMLIntrospector() - Method in class org.apache.commons.betwixt.digester.RuleSupport
Gets XMLIntrospector to be used for introspection
getXMLIntrospector() - Method in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Gets the XMLIntrospector that's using this digester.
getXMLIntrospector() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Gets the introspector used.
getXMLIntrospector() - Method in class org.apache.commons.betwixt.io.BeanReader
Get the introspector used.
getXMLIntrospector() - Method in class org.apache.commons.betwixt.io.read.ReadContext
Gets the XMLIntrospector to be used to create the mappings for the xml.
getXMLIntrospector() - Method in class org.apache.commons.betwixt.schema.SchemaTranscriber
Gets the XMLIntrospector used to create XMLInfoBean's.
GlobalComplexType - Class in org.apache.commons.betwixt.schema
Models a complexType from an XML schema.
GlobalComplexType() - Constructor for class org.apache.commons.betwixt.schema.GlobalComplexType
 
GlobalComplexType(TranscriptionConfiguration, ElementDescriptor, Schema) - Constructor for class org.apache.commons.betwixt.schema.GlobalComplexType
Constructs a new ComplexType from the descriptor given.
GlobalElement - Class in org.apache.commons.betwixt.schema
Models a global definition of an element.
GlobalElement() - Constructor for class org.apache.commons.betwixt.schema.GlobalElement
 
GlobalElement(String, String) - Constructor for class org.apache.commons.betwixt.schema.GlobalElement
 
GlobalElement(String, GlobalComplexType) - Constructor for class org.apache.commons.betwixt.schema.GlobalElement
 
GREATER_THAN_ENTITY - Static variable in class org.apache.commons.betwixt.XMLUtils
Escaped > entity

H

handleException(Context, Exception, Method) - Method in class org.apache.commons.betwixt.expression.MethodExpression
Log error to context's logger.
handleException(Context, Exception) - Method in class org.apache.commons.betwixt.expression.MethodExpression
Log error to context's logger.
handleException(Context, Exception) - Method in class org.apache.commons.betwixt.expression.TypedUpdater
Strategy method to allow derivations to handle exceptions differently.
handleException(Exception) - Method in class org.apache.commons.betwixt.strategy.DefaultObjectStringConverter
Allow subclasses to use a different exception handling strategy.
hasAttributes() - Method in class org.apache.commons.betwixt.ElementDescriptor
Returns true if this element has AttributeDescriptors
hasChildren() - Method in class org.apache.commons.betwixt.ElementDescriptor
Returns true if this element has child ElementDescriptors
hasContent() - Method in class org.apache.commons.betwixt.ElementDescriptor
Returns true if this element has child content.
hashCode() - Method in class org.apache.commons.betwixt.schema.Attribute
 
hashCode() - Method in class org.apache.commons.betwixt.schema.GlobalComplexType
 
hashCode() - Method in class org.apache.commons.betwixt.schema.GlobalElement
 
hashCode() - Method in class org.apache.commons.betwixt.schema.LocalComplexType
 
hashCode() - Method in class org.apache.commons.betwixt.schema.Schema
 
hashCode() - Method in class org.apache.commons.betwixt.schema.SimpleLocalElement
 
hashCode() - Method in class org.apache.commons.betwixt.schema.SimpleType
 
hashCode() - Method in class org.apache.commons.betwixt.strategy.SimpleTypeMapper.Binding
Implementation compatible with equals
hashCode() - Method in class org.apache.commons.betwixt.strategy.TypeBindingStrategy.BindingType
 
HideRule - Class in org.apache.commons.betwixt.digester
HideRule hides the property of the given name.
HideRule() - Constructor for class org.apache.commons.betwixt.digester.HideRule
Base constructor
HyphenatedNameMapper - Class in org.apache.commons.betwixt.strategy
A name mapper which converts types to a hypenated String.
HyphenatedNameMapper() - Constructor for class org.apache.commons.betwixt.strategy.HyphenatedNameMapper
Construct a hyphenated name mapper that converts the name to lower case and uses the default separator.
HyphenatedNameMapper(boolean) - Constructor for class org.apache.commons.betwixt.strategy.HyphenatedNameMapper
Construct a hyphenated name mapper with default separator.
HyphenatedNameMapper(boolean, String) - Constructor for class org.apache.commons.betwixt.strategy.HyphenatedNameMapper
Construct a hyphenated name mapper.

I

IDGenerator - Interface in org.apache.commons.betwixt.io
Interface allowing pluggable ID attribute value generators.
IdStoringStrategy - Class in org.apache.commons.betwixt.strategy
Pluggable strategy for id storage management.
IdStoringStrategy() - Constructor for class org.apache.commons.betwixt.strategy.IdStoringStrategy
 
IGNORE - Static variable in class org.apache.commons.betwixt.io.read.MappingAction
 
ignoreAllBeanInfo() - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Should existing BeanInfo classes be ignored by java.reflect.Introspector.
InfoRule - Class in org.apache.commons.betwixt.digester
InfoRule the digester Rule for parsing the info element.
InfoRule() - Constructor for class org.apache.commons.betwixt.digester.InfoRule
Base constructor
init(TranscriptionConfiguration, ElementDescriptor, Schema) - Method in class org.apache.commons.betwixt.schema.ComplexType
 
init(TranscriptionConfiguration, ElementDescriptor, Schema) - Method in class org.apache.commons.betwixt.schema.GlobalComplexType
 
insertBeanCreator(int, ChainedBeanCreator) - Method in class org.apache.commons.betwixt.io.read.BeanCreationList
Inserts a BeanCreator at the given position in the chain.
INSTANCE - Static variable in class org.apache.commons.betwixt.io.read.BeanBindAction
Singleton instance
INSTANCE - Static variable in class org.apache.commons.betwixt.io.read.SimpleTypeBindAction
 
introspect(Class) - Method in class org.apache.commons.betwixt.schema.Schema
Introspects the given type giving an XMLBeanInfo.
introspect(Object) - Method in class org.apache.commons.betwixt.XMLIntrospector
Create a standard XMLBeanInfo by introspection The actual introspection depends only on the BeanInfo associated with the bean.
introspect(DynaClass) - Method in class org.apache.commons.betwixt.XMLIntrospector
Creates XMLBeanInfo by reading the DynaProperties of a DynaBean.
introspect(Class, InputSource) - Method in class org.apache.commons.betwixt.XMLIntrospector
Introspects the given Class using the dot betwixt document in the given InputSource.
introspect(Class) - Method in class org.apache.commons.betwixt.XMLIntrospector
Create a standard XMLBeanInfo by introspection.
introspect(BeanInfo) - Method in class org.apache.commons.betwixt.XMLIntrospector
Create a standard XMLBeanInfo by introspection.
IntrospectionConfiguration - Class in org.apache.commons.betwixt
Stores introspection phase binding configuration.
IntrospectionConfiguration() - Constructor for class org.apache.commons.betwixt.IntrospectionConfiguration
 
isAttributesForPrimitives() - Method in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Should attributes (or elements) be used for primitive types?
isAttributesForPrimitives() - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Should attributes (or elements) be used for primitive types.
isAttributesForPrimitives() - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.6 use getConfiguration().isAttributesForPrimitives
isCachingEnabled() - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.5 replaced by XMlBeanInfoRegistry
isCollective() - Method in class org.apache.commons.betwixt.ElementDescriptor
Does this describe a collective?
isCollective(Class) - Method in class org.apache.commons.betwixt.strategy.CollectiveTypeStrategy.Default
Basic implementation returns true for all the standard java collective types and their subclasses.
isCollective(Class) - Method in class org.apache.commons.betwixt.strategy.CollectiveTypeStrategy
Is this a loop type class?
isCollective(Class) - Method in class org.apache.commons.betwixt.strategy.impl.OverrideCollectiveTypeStategy
 
isEndTagForEmptyElement() - Method in class org.apache.commons.betwixt.io.BeanWriter
Should an end tag be added for each empty element?
isHollow() - Method in class org.apache.commons.betwixt.ElementDescriptor
Is this decriptor hollow?
isLoopType(Class) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Deprecated. 0.7 replaced by IntrospectionConfiguration.isLoopType(Class)
isLoopType(Class) - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Is this a loop type class?
isLoopType(Class) - Method in class org.apache.commons.betwixt.XMLIntrospector
Is this class a loop?
isNameChar(int) - Static method in class org.apache.commons.betwixt.XMLUtils
Returns true if the specified character is a valid name character as defined by the XML 1.0 specification.
isNameStartChar(int) - Static method in class org.apache.commons.betwixt.XMLUtils
Returns true if the specified character is a valid name start character as defined in the XML 1.0 specification.
isPolymorphic() - Method in class org.apache.commons.betwixt.ElementDescriptor
Is this a polymorphic element?
isPrimitiveType(Class) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Deprecated. 0.6 replaced by TypeBindingStrategy
isPrimitiveType() - Method in class org.apache.commons.betwixt.ElementDescriptor
Deprecated. 0.6 moved to a declarative style of descriptors where the alrogithmic should be done during introspection
isPrimitiveType(Class) - Method in class org.apache.commons.betwixt.XMLIntrospector
Is this class a primitive?
isSimple() - Method in class org.apache.commons.betwixt.ElementDescriptor
Is this a simple element?
isStandardPrimitive(Class) - Method in class org.apache.commons.betwixt.strategy.TypeBindingStrategy.Default
is the given type one of the standard Betwixt primitives?
isStrickCheck() - Method in class org.apache.commons.betwixt.strategy.ListedClassNormalizer
Is strict checking of substitutions on?
isUpperCase() - Method in class org.apache.commons.betwixt.strategy.HyphenatedNameMapper
Should the bean name be converted to upper case?
isUseBindTimeTypeForMapping() - Method in class org.apache.commons.betwixt.ElementDescriptor
Is the bind time type to be used to determine the mapping?
isUseContextClassLoader() - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Should be context classloader be used when loading classes?
isWellFormedXMLName(String) - Static method in class org.apache.commons.betwixt.XMLUtils
Is this string a well formed xml name?
isWrapCollectionsInElement() - Method in class org.apache.commons.betwixt.ElementDescriptor
Deprecated. 0.6 moved to a declarative style of descriptors where the alrogithmic should be done during introspection
isWrapCollectionsInElement() - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Should collections be wrapped in an extra element?
isWrapCollectionsInElement() - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.6 use getConfiguration().isWrapCollectionsInElement
IteratorExpression - Class in org.apache.commons.betwixt.expression
IteratorExpression returns an iterator over the current context.
IteratorExpression(Expression) - Constructor for class org.apache.commons.betwixt.expression.IteratorExpression
Construct IteratorExpression using given expression for initial evaluation.

L

LESS_THAN_ENTITY - Static variable in class org.apache.commons.betwixt.XMLUtils
Escaped < entity
ListedClassNormalizer - Class in org.apache.commons.betwixt.strategy
ClassNormalizer that uses a list of substitutions.
ListedClassNormalizer() - Constructor for class org.apache.commons.betwixt.strategy.ListedClassNormalizer
 
loadClass(String) - Method in class org.apache.commons.betwixt.digester.AttributeRule
Loads a class (using the appropriate classloader)
loadClass(String) - Method in class org.apache.commons.betwixt.digester.RuleSupport
Loads the given class using an appropriate ClassLoader.
LocalComplexType - Class in org.apache.commons.betwixt.schema
Models a local complexType definition.
LocalComplexType() - Constructor for class org.apache.commons.betwixt.schema.LocalComplexType
 
LocalComplexType(TranscriptionConfiguration, ElementDescriptor, Schema) - Constructor for class org.apache.commons.betwixt.schema.LocalComplexType
 
LocalElement - Class in org.apache.commons.betwixt.schema
 
LocalElement(String) - Constructor for class org.apache.commons.betwixt.schema.LocalElement
 
LocalElement(ElementDescriptor, Schema) - Constructor for class org.apache.commons.betwixt.schema.LocalElement
 
log - Static variable in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Deprecated. Log used for logging (Doh!)
log - Static variable in class org.apache.commons.betwixt.strategy.DefaultPluralStemmer
Log used for logging (Doh!)
log - Variable in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.6 use the XMLIntrospector.getLog() property instead

M

makeElementDescriptorMap(ElementDescriptor, Map) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Deprecated. 0.6 moved into XMLIntrospector
MapEntryAdder - Class in org.apache.commons.betwixt.expression
MapEntryAdder is used to add entries to a map.
MapEntryAdder(Method) - Constructor for class org.apache.commons.betwixt.expression.MapEntryAdder
Construct a MapEntryAdder which adds entries to given method.
MappedPropertyRule - Class in org.apache.commons.betwixt.digester
Factors out common code used by Betwixt rules that access bean properties.
MappedPropertyRule() - Constructor for class org.apache.commons.betwixt.digester.MappedPropertyRule
Base constructor
MappingAction - Class in org.apache.commons.betwixt.io.read
Executes mapping action for a subgraph.
MappingAction() - Constructor for class org.apache.commons.betwixt.io.read.MappingAction
 
MappingAction.Base - Class in org.apache.commons.betwixt.io.read
Basic action.
MappingAction.Base() - Constructor for class org.apache.commons.betwixt.io.read.MappingAction.Base
 
MappingDerivationStrategy - Class in org.apache.commons.betwixt.strategy
Pluggable strategy determines whether introspection or bind time typing should be used when finding mappings.
MappingDerivationStrategy() - Constructor for class org.apache.commons.betwixt.strategy.MappingDerivationStrategy
 
mapTypeToElementName(String) - Method in class org.apache.commons.betwixt.strategy.BadCharacterReplacingNMapper
This implementation processes characters which are not allowed in xml element names and then returns the result from the next link in the chain.
mapTypeToElementName(String) - Method in class org.apache.commons.betwixt.strategy.CapitalizeNameMapper
Capitalize first letter of type name.
mapTypeToElementName(String) - Method in class org.apache.commons.betwixt.strategy.DecapitalizeNameMapper
Decapitalize first letter unless both are upper case.
mapTypeToElementName(String) - Method in class org.apache.commons.betwixt.strategy.DefaultNameMapper
This implementation returns the parameter passed after deleting any characters which the XML specification does not allow in element names.
mapTypeToElementName(String) - Method in class org.apache.commons.betwixt.strategy.HyphenatedNameMapper
The words within the bean name are deduced assuming the first-letter-capital (for example camel's hump) naming convention.
mapTypeToElementName(String) - Method in interface org.apache.commons.betwixt.strategy.NameMapper
Convert the given bean or property name to name for use in XML (as an element or an attribute qname).
markClassMap(Class) - Method in class org.apache.commons.betwixt.io.read.ReadContext
Marks the element name stack with a class mapping.
matches(ElementDescriptor) - Method in class org.apache.commons.betwixt.schema.GlobalComplexType
Does the given element descriptor match this complex type?
maxOccurs - Variable in class org.apache.commons.betwixt.schema.ElementReference
 
maxOccurs - Variable in class org.apache.commons.betwixt.schema.LocalElement
 
MethodExpression - Class in org.apache.commons.betwixt.expression
MethodExpression evaluates a method on the current bean context.
MethodExpression() - Constructor for class org.apache.commons.betwixt.expression.MethodExpression
Base constructor
MethodExpression(Method) - Constructor for class org.apache.commons.betwixt.expression.MethodExpression
Convenience constructor sets method property
MethodUpdater - Class in org.apache.commons.betwixt.expression
MethodUpdater updates the current bean context by calling a WriteMethod with the String value from the XML attribute or element.
MethodUpdater() - Constructor for class org.apache.commons.betwixt.expression.MethodUpdater
Base constructor
MethodUpdater(Method) - Constructor for class org.apache.commons.betwixt.expression.MethodUpdater
Convenience constructor sets method property
minOccurs - Variable in class org.apache.commons.betwixt.schema.ElementReference
 
minOccurs - Variable in class org.apache.commons.betwixt.schema.LocalElement
 
MixedContentEncodingStrategy - Class in org.apache.commons.betwixt.strategy
Encodes body content.
MixedContentEncodingStrategy() - Constructor for class org.apache.commons.betwixt.strategy.MixedContentEncodingStrategy
 
MultiMappingBeanInfoDigester - Class in org.apache.commons.betwixt.digester
XMLSingleMappingFileBeanInfoDigester is a digester of XML files containing XMLBeanInfo definitions for a JavaBeans.
MultiMappingBeanInfoDigester() - Constructor for class org.apache.commons.betwixt.digester.MultiMappingBeanInfoDigester
 

N

name - Variable in class org.apache.commons.betwixt.schema.LocalElement
 
NameMapper - Interface in org.apache.commons.betwixt.strategy
A plugin Strategy pattern for converting Java type names into element names.
nameSchemaType(ElementDescriptor) - Method in class org.apache.commons.betwixt.schema.strategy.impl.ClassNameSchemaNamingStrategy
Names the schema type from the type of the property.
nameSchemaType(ElementDescriptor) - Method in class org.apache.commons.betwixt.schema.strategy.impl.ElementSchemaNamingStrategy
Names the schema from the element
nameSchemaType(ElementDescriptor) - Method in class org.apache.commons.betwixt.schema.strategy.impl.QualifiedPropertyTypeSchemaNamingStrategy
Names the schema type from the type of the property.
nameSchemaType(ElementDescriptor) - Method in class org.apache.commons.betwixt.schema.strategy.SchemaTypeNamingStrategy
Names the schema type described.
NamespacePrefixMapper - Class in org.apache.commons.betwixt.strategy
Maps namespace URI's to prefixes.
NamespacePrefixMapper() - Constructor for class org.apache.commons.betwixt.strategy.NamespacePrefixMapper
 
newContext(Object) - Method in class org.apache.commons.betwixt.expression.Context
Returns a new child context with the given bean but the same log and variables.
next(String, String, Attributes, ReadContext) - Method in class org.apache.commons.betwixt.io.read.ArrayBindAction
Construct a delegating implmentation that wraps the real bean creator
next(String, String, Attributes, ReadContext) - Method in class org.apache.commons.betwixt.io.read.MappingAction.Base
 
next(String, String, Attributes, ReadContext) - Method in class org.apache.commons.betwixt.io.read.MappingAction
 
next(String, String, Attributes, ReadContext) - Method in class org.apache.commons.betwixt.io.read.SimpleTypeBindAction
 
nextId() - Method in class org.apache.commons.betwixt.io.id.AbstractIDGenerator
Generate next ID.
nextId() - Method in interface org.apache.commons.betwixt.io.IDGenerator
Generate a new ID attribute value.
nextIdImpl() - Method in class org.apache.commons.betwixt.io.id.AbstractIDGenerator
Subclasses should provide an implementation for this method.
nextIdImpl() - Method in class org.apache.commons.betwixt.io.id.RandomIDGenerator
Generates a random ID.
nextIdImpl() - Method in class org.apache.commons.betwixt.io.id.SequentialIDGenerator
Increment counter and then return value.
NoCacheRegistry - Class in org.apache.commons.betwixt.registry
This plug-in registry does not cache at all.
NoCacheRegistry() - Constructor for class org.apache.commons.betwixt.registry.NoCacheRegistry
 
NodeDescriptor - Class in org.apache.commons.betwixt
Common superclass for ElementDescriptor and AttributeDescriptor.
NodeDescriptor() - Constructor for class org.apache.commons.betwixt.NodeDescriptor
Base constructor
NodeDescriptor(String) - Constructor for class org.apache.commons.betwixt.NodeDescriptor
Creates a NodeDescriptor with no namespace URI or prefix.
NodeDescriptor(String, String, String) - Constructor for class org.apache.commons.betwixt.NodeDescriptor
Creates a NodeDescriptor with namespace URI and qualified name
normalize(Class) - Method in class org.apache.commons.betwixt.strategy.ClassNormalizer
Normalize given class.
normalize(Class) - Method in class org.apache.commons.betwixt.strategy.ListedClassNormalizer
Normalize given class.
NULL_ARGUMENTS - Static variable in class org.apache.commons.betwixt.expression.MethodExpression
null arguments
NULL_CLASSES - Static variable in class org.apache.commons.betwixt.expression.MethodExpression
null classes

O

ObjectStringConverter - Class in org.apache.commons.betwixt.strategy
Strategy class for string <-> object conversions.
ObjectStringConverter() - Constructor for class org.apache.commons.betwixt.strategy.ObjectStringConverter
 
objectToString(Object, Class, String, Context) - Method in class org.apache.commons.betwixt.strategy.ConvertUtilsObjectStringConverter
Converts an object to a string representation using ConvertUtils.
objectToString(Object, Class, String, Context) - Method in class org.apache.commons.betwixt.strategy.DefaultObjectStringConverter
Converts an object to a string representation using ConvertUtils.
objectToString(Object, Class, String, Context) - Method in class org.apache.commons.betwixt.strategy.ObjectStringConverter
Deprecated. 0.7 use ObjectStringConverter.objectToString(Object, Class, Context) instead. The preferred way to support flavours is by setting the org.apache.commons.betwixt.FLAVOUR option. This can then be retrieved by calling Context.getOptions()
objectToString(Object, Class, Context) - Method in class org.apache.commons.betwixt.strategy.ObjectStringConverter
Converts an object to a string representation.
OptionRule - Class in org.apache.commons.betwixt.digester
Maps option tree to an option in the Options on the current description.
OptionRule() - Constructor for class org.apache.commons.betwixt.digester.OptionRule
 
Options - Class in org.apache.commons.betwixt
Collective for Betwixt optional behaviour hints.
Options() - Constructor for class org.apache.commons.betwixt.Options
 
org.apache.commons.betwixt - package org.apache.commons.betwixt
This package contains the main betwixt introspection code.
org.apache.commons.betwixt.digester - package 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.expression - package org.apache.commons.betwixt.expression
This package contains the system which extracts values from beans.
org.apache.commons.betwixt.io - package org.apache.commons.betwixt.io
Package contains classes dealing directly with the reading and writing of beans.
org.apache.commons.betwixt.io.id - package org.apache.commons.betwixt.io.id
This package is home to IDGenerator implementations.
org.apache.commons.betwixt.io.read - package org.apache.commons.betwixt.io.read
Package contains strategy and configuration classes used by reading only.
org.apache.commons.betwixt.registry - package org.apache.commons.betwixt.registry
This package contains various plugins that can be used with XMLIntrospector to customize it's caching behaviour (or programmatically modify the XmlBeanInfo finding).
org.apache.commons.betwixt.schema - package org.apache.commons.betwixt.schema
WARNING: EXPERIMENTAL Contains classes that generate XML (w3c) schema from Betwixt descriptors.
org.apache.commons.betwixt.schema.strategy - package org.apache.commons.betwixt.schema.strategy
 
org.apache.commons.betwixt.schema.strategy.impl - package org.apache.commons.betwixt.schema.strategy.impl
 
org.apache.commons.betwixt.strategy - package org.apache.commons.betwixt.strategy
This package contains a variety of plugin Strategy patterns that can be used to customize the default behaviours.
org.apache.commons.betwixt.strategy.impl - package org.apache.commons.betwixt.strategy.impl
 
org.apache.commons.betwixt.strategy.impl.propertysuppression - package org.apache.commons.betwixt.strategy.impl.propertysuppression
 
overrideCollective(Class) - Method in class org.apache.commons.betwixt.strategy.impl.OverrideCollectiveTypeStategy
Marks the given type to be treated as collective.
OverrideCollectiveTypeStategy - Class in org.apache.commons.betwixt.strategy.impl
Strategy that allows specific classes to be marked as collective (OverrideCollectiveTypeStategy.overrideCollective(Class)) or not collective (OverrideCollectiveTypeStategy.overrideNotCollective(Class)).
OverrideCollectiveTypeStategy() - Constructor for class org.apache.commons.betwixt.strategy.impl.OverrideCollectiveTypeStategy
Constructs a strategy which delegates to CollectiveTypeStrategy#DEFAULT
OverrideCollectiveTypeStategy(CollectiveTypeStrategy) - Constructor for class org.apache.commons.betwixt.strategy.impl.OverrideCollectiveTypeStategy
Constructs a strategy which delegates all those that it does not override.
overrideNotCollective(Class) - Method in class org.apache.commons.betwixt.strategy.impl.OverrideCollectiveTypeStategy
Marks the given type to be treated as not collective

P

PackageSuppressor - Class in org.apache.commons.betwixt.strategy.impl.propertysuppression
Suppresses properties based on the package of their type.
PackageSuppressor(String) - Constructor for class org.apache.commons.betwixt.strategy.impl.propertysuppression.PackageSuppressor
Constructs a suppressor for packages.
PluralStemmer - Interface in org.apache.commons.betwixt.strategy
A plugin Strategy pattern which will detect the plural property which maps to a singular property name.
PolymorphicReferenceResolver - Interface in org.apache.commons.betwixt.registry
Resolves polymorphic references.
popBean() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Pops the top bean off from the ancestry stack
popBean() - Method in class org.apache.commons.betwixt.io.read.ReadContext
Pops the last mapping Object from the stack containing beans that have been mapped.
popElement() - Method in class org.apache.commons.betwixt.io.read.ReadContext
Pops the top element from the element mapping stack.
popMappingAction() - Method in class org.apache.commons.betwixt.io.read.ReadContext
Pops an action mapping from the stack
popOptions() - Method in class org.apache.commons.betwixt.expression.Context
Pops the current options from the stack.
populateAttributes(AttributeDescriptor[], Attributes) - Method in class org.apache.commons.betwixt.io.read.ReadContext
Populates the object mapped by the AttributeDescriptors with the values in the given Attributes.
popUpdater() - Method in class org.apache.commons.betwixt.io.read.ReadContext
Pops the top Updater from the stack.
PRIMITIVE - Static variable in class org.apache.commons.betwixt.strategy.TypeBindingStrategy.BindingType
Indicates that the type should be bound as a Java primitive.
PropertySuppressionStrategy - Class in org.apache.commons.betwixt.strategy
Pluggable strategy specifying whether property's should be suppressed.
PropertySuppressionStrategy() - Constructor for class org.apache.commons.betwixt.strategy.PropertySuppressionStrategy
 
PropertySuppressionStrategy.Chain - Class in org.apache.commons.betwixt.strategy
Implementation delegates to a list of strategies
PropertySuppressionStrategy.Chain() - Constructor for class org.apache.commons.betwixt.strategy.PropertySuppressionStrategy.Chain
 
PropertySuppressionStrategy.Default - Class in org.apache.commons.betwixt.strategy
Default implementation.
PropertySuppressionStrategy.Default() - Constructor for class org.apache.commons.betwixt.strategy.PropertySuppressionStrategy.Default
 
pushBean(Object) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Pushes the bean onto the ancestry stack.
pushBean(Object) - Method in class org.apache.commons.betwixt.io.read.ReadContext
Pushs a newly mapped Object onto the mapped bean stack.
pushElement(String) - Method in class org.apache.commons.betwixt.io.read.ReadContext
Pushes the given element onto the element mapping stack.
pushMappingAction(MappingAction) - Method in class org.apache.commons.betwixt.io.read.ReadContext
Pushs an action mapping onto the stack
pushOptions(Options) - Method in class org.apache.commons.betwixt.expression.Context
Pushes the given Options onto the stack.
pushUpdater(Updater) - Method in class org.apache.commons.betwixt.io.read.ReadContext
Pushes an Updater onto the stack.
put(Class, XMLBeanInfo) - Method in class org.apache.commons.betwixt.registry.DefaultXMLBeanInfoRegistry
Put into cache
put(Class, XMLBeanInfo) - Method in class org.apache.commons.betwixt.registry.NoCacheRegistry
Do nothing (this implementation does not cache)
put(Class, XMLBeanInfo) - Method in interface org.apache.commons.betwixt.registry.XMLBeanInfoRegistry
Associate a class with it's XMLBeanInfo.
putBean(String, Object) - Method in class org.apache.commons.betwixt.io.read.ReadContext
Puts a bean into storage indexed by an (xml) ID.

Q

QualifiedPropertyTypeSchemaNamingStrategy - Class in org.apache.commons.betwixt.schema.strategy.impl
Names schema types from the fully qualified property type of the descriptor
QualifiedPropertyTypeSchemaNamingStrategy() - Constructor for class org.apache.commons.betwixt.schema.strategy.impl.QualifiedPropertyTypeSchemaNamingStrategy
 
QUOTE_ENTITY - Static variable in class org.apache.commons.betwixt.XMLUtils
Escaped " entity

R

RandomIDGenerator - Class in org.apache.commons.betwixt.io.id
Generates ID's at random.
RandomIDGenerator() - Constructor for class org.apache.commons.betwixt.io.id.RandomIDGenerator
Constructor sets the PositiveIds property to true.
RandomIDGenerator(boolean) - Constructor for class org.apache.commons.betwixt.io.id.RandomIDGenerator
Constructor sets PositiveIds property.
ReadConfiguration - Class in org.apache.commons.betwixt.io.read
Stores mapping phase configuration settings that apply only for bean reading.
ReadConfiguration() - Constructor for class org.apache.commons.betwixt.io.read.ReadConfiguration
 
ReadContext - Class in org.apache.commons.betwixt.io.read
Extends Context to provide read specific functionality.
ReadContext(Context, ReadConfiguration) - Constructor for class org.apache.commons.betwixt.io.read.ReadContext
Constructs a ReadContext with the same settings as an existing Context.
ReadContext(BindingConfiguration, ReadConfiguration) - Constructor for class org.apache.commons.betwixt.io.read.ReadContext
Constructs a ReadContext with standard log.
ReadContext(Log, BindingConfiguration, ReadConfiguration) - Constructor for class org.apache.commons.betwixt.io.read.ReadContext
Base constructor
ReadContext(ReadContext) - Constructor for class org.apache.commons.betwixt.io.read.ReadContext
Constructs a ReadContext with the same settings as an existing Context.
register(InputSource) - Method in class org.apache.commons.betwixt.XMLIntrospector
Registers the class mappings specified in the multi-class document given by the InputSource.
register(Class, InputSource) - Method in class org.apache.commons.betwixt.XMLIntrospector
Registers the class mapping specified in the standard dot-betwixt file.
registerBeanClass(Class) - Method in class org.apache.commons.betwixt.io.BeanReader
Register a bean class and add mapping rules for this bean class.
registerBeanClass(String, Class) - Method in class org.apache.commons.betwixt.io.BeanReader
Registers a bean class and add mapping rules for this bean class at the given path expression.
registerBeanClass(InputSource, Class) - Method in class org.apache.commons.betwixt.io.BeanReader
Registers a class with a custom mapping.
registerMultiMapping(InputSource) - Method in class org.apache.commons.betwixt.io.BeanReader
Registers a class with a multi-mapping.
removeAttributeDescriptor(AttributeDescriptor) - Method in class org.apache.commons.betwixt.ElementDescriptor
Removes an attribute descriptor from this element descriptor.
removeElementDescriptor(ElementDescriptor) - Method in class org.apache.commons.betwixt.ElementDescriptor
Removes an element descriptor from this element descriptor.
reset() - Method in class org.apache.commons.betwixt.strategy.DefaultIdStoringStrategy
Clears all beans.
reset() - Method in class org.apache.commons.betwixt.strategy.IdStoringStrategy
Reset to the initial state.
resolvePolymorphicType(ElementMapping) - Method in class org.apache.commons.betwixt.io.read.ReadContext
Resolves any polymorphism in the element mapping.
resolveType(ElementMapping, ReadContext) - Method in class org.apache.commons.betwixt.registry.DefaultXMLBeanInfoRegistry
Checks all registered XMLBeanInfo's for the first suitable match.
resolveType(ElementMapping, ReadContext) - Method in interface org.apache.commons.betwixt.registry.PolymorphicReferenceResolver
Resolves the bind-time type of a polymorphic element.
RuleSupport - Class in org.apache.commons.betwixt.digester
RuleSupport is an abstract base class containing useful helper methods.
RuleSupport() - Constructor for class org.apache.commons.betwixt.digester.RuleSupport
Base constructor

S

SAXBeanWriter - Class in org.apache.commons.betwixt.io
The SAXBeanwriter will send events to a ContentHandler
SAXBeanWriter(ContentHandler) - Constructor for class org.apache.commons.betwixt.io.SAXBeanWriter
Constructor sets writer used for output.
Schema - Class in org.apache.commons.betwixt.schema
Model for top level element in an XML Schema
Schema() - Constructor for class org.apache.commons.betwixt.schema.Schema
 
Schema(XMLIntrospector) - Constructor for class org.apache.commons.betwixt.schema.Schema
 
SchemaTranscriber - Class in org.apache.commons.betwixt.schema
Generates XML Schemas for Betwixt mappings.
SchemaTranscriber() - Constructor for class org.apache.commons.betwixt.schema.SchemaTranscriber
 
SchemaTypeNamingStrategy - Class in org.apache.commons.betwixt.schema.strategy
Pluggable strategy for naming schema types.
SchemaTypeNamingStrategy() - Constructor for class org.apache.commons.betwixt.schema.strategy.SchemaTypeNamingStrategy
 
SequentialIDGenerator - Class in org.apache.commons.betwixt.io.id
Generates ID's in numeric sequence.
SequentialIDGenerator() - Constructor for class org.apache.commons.betwixt.io.id.SequentialIDGenerator
Base constructor.
SequentialIDGenerator(int) - Constructor for class org.apache.commons.betwixt.io.id.SequentialIDGenerator
Constructor sets the start value for the counter.
setAbstractBeanWriterLog(Log) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Set the current logging implementation.
setActionMappingStrategy(ActionMappingStrategy) - Method in class org.apache.commons.betwixt.io.read.ReadConfiguration
Sets the ActionMappingStrategy used to define default mapping acitons.
setAttributeDescriptors(AttributeDescriptor[]) - Method in class org.apache.commons.betwixt.ElementDescriptor
Sets the AttributesDescriptors for this element.
setAttributeNameMapper(NameMapper) - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Sets the strategy used to convert bean type names into attribute names
setAttributeNameMapper(NameMapper) - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.6 use getConfiguration().setAttributeNameMapper
setAttributes(Attributes) - Method in class org.apache.commons.betwixt.io.read.ElementMapping
Sets the element's attributes
setAttributesForPrimitives(boolean) - Method in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Set whether attributes (or elements) should be used for primitive types.
setAttributesForPrimitives(boolean) - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Set whether attributes (or elements) should be used for primitive types.
setAttributesForPrimitives(boolean) - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.6 use getConfiguration().setAttributesForPrimitives
setAttributeSuppressionStrategy(AttributeSuppressionStrategy) - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Sets the AttributeSuppressionStrategy.
setBean(Object) - Method in class org.apache.commons.betwixt.expression.Context
Set the current bean.
setBean(Object) - Method in class org.apache.commons.betwixt.io.read.ReadContext
 
setBeanClass(Class) - Method in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Sets the beans class for this XML descriptor
setBeanClass(Class) - Method in class org.apache.commons.betwixt.XMLBeanInfo
Sets the beans class that this XML info refers to
setBeanCreationChain(BeanCreationChain) - Method in class org.apache.commons.betwixt.io.read.ReadConfiguration
Sets the BeanCreationChain that should be used to construct beans.
setBeanInfoMap(Map) - Method in class org.apache.commons.betwixt.digester.MultiMappingBeanInfoDigester
Set the Map containing XMLBeanInfo classes.
setBindingConfiguration(BindingConfiguration) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Sets the dynamic configuration setting to be used for bean reading.
setBindingConfiguration(BindingConfiguration) - Method in class org.apache.commons.betwixt.io.BeanReader
Sets the dynamic configuration setting to be used for bean reading.
setCachingEnabled(boolean) - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.5 replaced by XMlBeanInfoRegistry
setCallDocumentEvents(boolean) - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
Sets whether the document events (ie start and end) should be called.
setClassLoader(ClassLoader) - Method in class org.apache.commons.betwixt.io.read.ReadContext
Sets the classloader to be used.
setClassNameAttribute(String) - Method in class org.apache.commons.betwixt.BindingConfiguration
Sets the name of the attribute which can be specified in the XML to override the type of a bean used at a certain point in the schema.
setClassNameAttribute(String) - Method in class org.apache.commons.betwixt.expression.Context
Sets the name of the attribute which can be specified in the XML to override the type of a bean used at a certain point in the schema.
setClassNameAttribute(String) - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Sets the name of the attribute which can be specified in the XML to override the type of a bean used at a certain point in the schema.
setClassNameAttribute(String) - Method in class org.apache.commons.betwixt.io.BeanRuleSet
Deprecated. 0.5 set the ReadContext property instead
setClassNormalizer(ClassNormalizer) - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Sets the ClassNormalizer strategy.
setClassNormalizer(ClassNormalizer) - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.6 use getConfiguration().setClassNormalizer
setCollective(boolean) - Method in class org.apache.commons.betwixt.ElementDescriptor
Sets whether the element described is a collective.
setCollectiveTypeStrategy(CollectiveTypeStrategy) - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Sets the strategy used to determine which types are collective.
setComplexType(GlobalComplexType) - Method in class org.apache.commons.betwixt.schema.GlobalElement
Sets the anonymous type definition for this element
setConfiguration(TranscriptionConfiguration) - Method in class org.apache.commons.betwixt.schema.SchemaTranscriber
Sets the configuration for the XMLBeanInfo to XML schema transcription.
setConfiguration(IntrospectionConfiguration) - Method in class org.apache.commons.betwixt.XMLIntrospector
Sets the configuration to be used for introspection.
setContentDescriptors(Descriptor[]) - Method in class org.apache.commons.betwixt.ElementDescriptor
Sets the descriptors for the child content of the element this describes.
setContextExpression(Expression) - Method in class org.apache.commons.betwixt.ElementDescriptor
Sets the expression used to evaluate the new context of this element
setDataTypeMapper(DataTypeMapper) - Method in class org.apache.commons.betwixt.schema.TranscriptionConfiguration
Sets the DataTypeMapper to be used during the transcription/
setDescriptor(ElementDescriptor) - Method in class org.apache.commons.betwixt.io.read.ElementMapping
Sets the mapped element descriptor.
setElementDescriptor(ElementDescriptor) - Method in class org.apache.commons.betwixt.XMLBeanInfo
Sets descriptor for bean represention
setElementDescriptors(ElementDescriptor[]) - Method in class org.apache.commons.betwixt.ElementDescriptor
Sets the descriptors for the child element of the element this describes.
setElementNameMapper(NameMapper) - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Sets the strategy used to convert bean type names into element names
setElementNameMapper(NameMapper) - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.6 use getConfiguration().setElementNameMapper
setElementSuppressionStrategy(ElementSuppressionStrategy) - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Sets the ElementSuppressionStrategy.
setEndOfLine(String) - Method in class org.apache.commons.betwixt.io.BeanWriter
Sets the string used for end of lines Produces a warning the specified value contains an invalid whitespace character
setEndTagForEmptyElement(boolean) - Method in class org.apache.commons.betwixt.io.BeanWriter
Sets when an an end tag be added for each empty element.
setHollow(boolean) - Method in class org.apache.commons.betwixt.ElementDescriptor
Sets whether this descriptor is hollow.
setIDAttributeName(String) - Method in class org.apache.commons.betwixt.XMLBeanInfo
Set name of ID attribute This is used to write (for example) automatic ID attribute values.
setIdGenerator(IDGenerator) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Set IDGenerator implementation used to generate ID attribute values.
setIdMappingStrategy(IdStoringStrategy) - Method in class org.apache.commons.betwixt.BindingConfiguration
Sets the strategy used to manage storage and retrieval of id's.
setIDREFAttributeName(String) - Method in class org.apache.commons.betwixt.XMLBeanInfo
Set IDREF attribute name This is used (for example) to deal with cyclic references.
setIgnoreAllBeanInfo(boolean) - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Specifies if you want to ignore existing BeanInfo classes at all for introspection
setImplementationClass(Class) - Method in class org.apache.commons.betwixt.ElementDescriptor
Sets the class which should be used for instantiation.
setIndent(String) - Method in class org.apache.commons.betwixt.io.BeanWriter
Sets the string used for pretty print indents
setInitialIndentLevel(int) - Method in class org.apache.commons.betwixt.io.BeanWriter
Sets the initial indent level used for pretty print indents
setIntrospectionLog(Log) - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Sets the common Log used by introspection.
setLocalName(String) - Method in class org.apache.commons.betwixt.NodeDescriptor
Sets the local name
setLog(Log) - Static method in class org.apache.commons.betwixt.digester.ElementRule
Sets the log for this class
setLog(Log) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Deprecated. Sets the current logging implementation.
setLog(Log) - Method in class org.apache.commons.betwixt.expression.Context
Set the log implementation to which this class logs
setLog(Log) - Static method in class org.apache.commons.betwixt.expression.MapEntryAdder
Sets the logger used by this class.
setLog(Log) - Static method in class org.apache.commons.betwixt.expression.MethodUpdater
Programmatically set log
setLog(Log) - Static method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Set log to be used by BeanCreateRule instances
setLog(Log) - Method in class org.apache.commons.betwixt.io.BeanReader
Set the current logging level.
setLog(Log) - Static method in class org.apache.commons.betwixt.io.BeanRuleSet
Set log to be used by BeanRuleSet instances
setLog(Log) - Method in class org.apache.commons.betwixt.io.BeanWriter
Set the log implementation used.
setLog(Log) - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
Set the log implementation used.
setLog(Log) - Method in class org.apache.commons.betwixt.XMLIntrospector
Sets the current logging implementation.
setMapIDs(boolean) - Method in class org.apache.commons.betwixt.BindingConfiguration
Should ID's and IDREF attributes be used to cross-reference matching objects?
setMappingDerivationStrategy(MappingDerivationStrategy) - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Sets the MappingDerivationStrategy used to determine whether the bind or introspection time type should determine the mapping.
setMatchIDs(boolean) - Method in class org.apache.commons.betwixt.io.BeanReader
Deprecated. 0.5 use BindingConfiguration.setMapIDs(boolean)
setMaxOccurs(String) - Method in class org.apache.commons.betwixt.schema.ElementReference
 
setMaxOccurs(String) - Method in class org.apache.commons.betwixt.schema.LocalElement
 
setMethod(Method) - Method in class org.apache.commons.betwixt.expression.MethodExpression
Sets the method used to evaluate this expression
setMethod(Method) - Method in class org.apache.commons.betwixt.expression.MethodUpdater
Sets the constant value of this expression
setMinOccurs(int) - Method in class org.apache.commons.betwixt.schema.ElementReference
 
setMinOccurs(int) - Method in class org.apache.commons.betwixt.schema.LocalElement
 
setMixedContentEncodingStrategy(MixedContentEncodingStrategy) - Method in class org.apache.commons.betwixt.io.BeanWriter
Sets the encoding strategy for mixed content.
setName(String) - Method in class org.apache.commons.betwixt.io.read.ElementMapping
Sets the local name for this element.
setName(String) - Method in class org.apache.commons.betwixt.schema.Attribute
Sets the attribute name
setName(String) - Method in class org.apache.commons.betwixt.schema.GlobalComplexType
Sets the name of this type.
setName(String) - Method in class org.apache.commons.betwixt.schema.GlobalElement
Sets the element name
setName(String) - Method in class org.apache.commons.betwixt.schema.LocalElement
 
setName(String) - Method in class org.apache.commons.betwixt.schema.SimpleType
Sets the name
setNameMapper(NameMapper) - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.5 setNameMapper is split up in XMLIntrospector.setElementNameMapper(NameMapper) and XMLIntrospector.setAttributeNameMapper(NameMapper)
setNamespace(String) - Method in class org.apache.commons.betwixt.io.read.ElementMapping
Sets the namespace URI for this element
setObjectStringConverter(ObjectStringConverter) - Method in class org.apache.commons.betwixt.BindingConfiguration
Sets the Object <-> String converter.
setOptions(Options) - Method in class org.apache.commons.betwixt.Descriptor
Sets the options for this descriptor.
setPluralStemmer(PluralStemmer) - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Sets the strategy used to detect matching singular and plural properties
setPluralStemmer(PluralStemmer) - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.6 use getConfiguration().setPluralStemmer
setPolymorphicReferenceResolver(PolymorphicReferenceResolver) - Method in class org.apache.commons.betwixt.XMLIntrospector
Sets the resolver for polymorphic references.
setPositiveIds(boolean) - Method in class org.apache.commons.betwixt.io.id.RandomIDGenerator
Sets whether only positive ID's should be generated
setPrefix(String, String) - Method in class org.apache.commons.betwixt.strategy.NamespacePrefixMapper
Sets the prefix to be used for the given namespace URI.
setPrefixMapper(NamespacePrefixMapper) - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Sets the NamespacePrefixMapper used to convert namespave URIs into prefixes.
setPrimitiveType(boolean) - Method in class org.apache.commons.betwixt.ElementDescriptor
Deprecated. 0.6 moved to a declarative style of descriptors where the alrogithmic should be done during introspection
setPropertyName(String) - Method in class org.apache.commons.betwixt.Descriptor
Sets the name of the bean property to which this node refers
setPropertyName(String) - Method in class org.apache.commons.betwixt.expression.DynaBeanExpression
Sets the name of the property to get from the DynaBean.
setPropertySuppressionStrategy(PropertySuppressionStrategy) - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Sets the strategy which determines the properties to be ignored.
setPropertyType(Class) - Method in class org.apache.commons.betwixt.Descriptor
Sets the type of the bean property associated with this node, if any
setQualifiedName(String) - Method in class org.apache.commons.betwixt.NodeDescriptor
Sets the qualified name
setReadConfiguration(ReadConfiguration) - Method in class org.apache.commons.betwixt.io.BeanReader
Sets the read specific configuration details.
setReference(Context, Object, String) - Method in class org.apache.commons.betwixt.strategy.DefaultIdStoringStrategy
Stores an ID for the given instance and context.
setReference(Context, Object, String) - Method in class org.apache.commons.betwixt.strategy.IdStoringStrategy
Stores an instance reference for later retrieval.
setRegistry(XMLBeanInfoRegistry) - Method in class org.apache.commons.betwixt.XMLIntrospector
Sets the XMLBeanInfoRegistry implementation.
setReplacement(Character) - Method in class org.apache.commons.betwixt.strategy.BadCharacterReplacingNMapper
Sets the character that should be used to replace bad characters.
setRootClass(Class) - Method in class org.apache.commons.betwixt.io.read.ReadContext
 
setSchemaTypeNamingStrategy(SchemaTypeNamingStrategy) - Method in class org.apache.commons.betwixt.schema.TranscriptionConfiguration
Sets the strategy to be used for naming types.
setSeparator(String) - Method in class org.apache.commons.betwixt.strategy.HyphenatedNameMapper
Sets the separator used to seperate words, which defaults to '-'
setSimpleTypeMapper(SimpleTypeMapper) - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Sets the simple type binding strategy.
setSingularPropertyType(Class) - Method in class org.apache.commons.betwixt.Descriptor
Sets the underlying type ignoring any wrapping Collection or Array.
setStrickCheck(boolean) - Method in class org.apache.commons.betwixt.strategy.ListedClassNormalizer
Sets strict checking of substitutions?
setTextExpression(Expression) - Method in class org.apache.commons.betwixt.Descriptor
Sets the expression used to evaluate the text value of this node for a particular Context
setType(Class) - Method in class org.apache.commons.betwixt.io.read.ElementMapping
Sets the base type for this element.
setType(String) - Method in class org.apache.commons.betwixt.schema.Attribute
Sets the attribute type
setType(LocalComplexType) - Method in class org.apache.commons.betwixt.schema.ComplexLocalElement
 
setType(String) - Method in class org.apache.commons.betwixt.schema.GlobalElement
Sets the element type
setType(String) - Method in class org.apache.commons.betwixt.schema.SimpleLocalElement
 
setTypeBindingStrategy(TypeBindingStrategy) - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Sets the TypeBindingStrategy to be used to determine the binding for Java types.
setUpdater(Updater) - Method in class org.apache.commons.betwixt.Descriptor
Sets the Updater used to update a Context from the text value corresponding to this node in an xml document
setUpperCase(boolean) - Method in class org.apache.commons.betwixt.strategy.HyphenatedNameMapper
Sets whether upper or lower case conversions should be performed, which defaults to false for lower case.
setURI(String) - Method in class org.apache.commons.betwixt.NodeDescriptor
Sets the namespace URI that this node belongs to.
setUseBeanInfoSearchPath(boolean) - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Specifies if you want to use the beanInfoSearchPath
setUseBeanInfoSearchPath(boolean) - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.6 use getConfiguration().setUseBeanInfoSearchPath
setUseBindTimeTypeForMapping(boolean) - Method in class org.apache.commons.betwixt.ElementDescriptor
Sets whether the bind time type to be used to determine the mapping.
setUseContextClassLoader(boolean) - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Specify whether the context classloader should be used to load classes during introspection; the default value is true.
setValue(Object) - Method in class org.apache.commons.betwixt.expression.ConstantExpression
Sets the constant value of this expression
setValueSuppressionStrategy(ValueSuppressionStrategy) - Method in class org.apache.commons.betwixt.BindingConfiguration
Sets the ValueSuppressionStrategy.
setValueSuppressionStrategy(ValueSuppressionStrategy) - Method in class org.apache.commons.betwixt.expression.Context
Sets the ValueSuppressionStrategy.
setValueType(Class) - Method in class org.apache.commons.betwixt.expression.TypedUpdater
Sets the type expected.
setVariable(String, Object) - Method in class org.apache.commons.betwixt.expression.Context
Sets the value of a particular context variable.
setVariableName(String) - Method in class org.apache.commons.betwixt.expression.VariableExpression
Sets the variable name
setVariables(Map) - Method in class org.apache.commons.betwixt.expression.Context
Sets context variables.
setWrapCollectionsInElement(boolean) - Method in class org.apache.commons.betwixt.ElementDescriptor
Deprecated. 0.6 moved to a declarative style of descriptors where the alrogithmic should be done during introspection
setWrapCollectionsInElement(boolean) - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Sets whether we should we wrap collections in an extra element.
setWrapCollectionsInElement(boolean) - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.6 use getConfiguration().setWrapCollectionsInElement
setWriteEmptyElements(boolean) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Sets whether empty elements should be written into the output.
setWriteIDs(boolean) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 use BindingConfiguration.setMapIDs(boolean)
setXMLIntrospector(XMLIntrospector) - Method in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Sets the introspector that is using me
setXMLIntrospector(XMLIntrospector) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Sets the introspector to be used.
setXMLIntrospector(XMLIntrospector) - Method in class org.apache.commons.betwixt.io.BeanReader
Set the introspector to be used.
setXMLIntrospector(XMLIntrospector) - Method in class org.apache.commons.betwixt.io.read.ReadContext
Sets the XMLIntrospector to be used to create the mappings for the xml.
setXMLIntrospector(XMLIntrospector) - Method in class org.apache.commons.betwixt.schema.SchemaTranscriber
Sets the XMLIntrospector used to create XMLInfoBeans.
SimpleLocalElement - Class in org.apache.commons.betwixt.schema
 
SimpleLocalElement(String, String) - Constructor for class org.apache.commons.betwixt.schema.SimpleLocalElement
 
SimpleLocalElement(TranscriptionConfiguration, ElementDescriptor, Schema) - Constructor for class org.apache.commons.betwixt.schema.SimpleLocalElement
 
SimpleType - Class in org.apache.commons.betwixt.schema
Models a simpleType tag in an XML schema.
SimpleType() - Constructor for class org.apache.commons.betwixt.schema.SimpleType
 
SimpleTypeBindAction - Class in org.apache.commons.betwixt.io.read
Action binds a simple type.
SimpleTypeBindAction() - Constructor for class org.apache.commons.betwixt.io.read.SimpleTypeBindAction
 
SimpleTypeMapper - Class in org.apache.commons.betwixt.strategy
Strategy for binding simple types.
SimpleTypeMapper() - Constructor for class org.apache.commons.betwixt.strategy.SimpleTypeMapper
 
SimpleTypeMapper.Binding - Class in org.apache.commons.betwixt.strategy
Enumerates binding options for simple types.
StandardSimpleTypeMapper - Class in org.apache.commons.betwixt.strategy
Binds simple types as specified by IntrospectionConfiguration.isAttributesForPrimitives().
StandardSimpleTypeMapper() - Constructor for class org.apache.commons.betwixt.strategy.StandardSimpleTypeMapper
 
start() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Marks the start of the bean writing.
start() - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
This will announce the start of the document to the contenthandler.
startElement(WriteContext, String, String, String, Attributes) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Writes the start tag for an element.
startElement(String, String, String, Attributes) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 use AbstractBeanWriter.startElement(WriteContext, String, String, String, Attributes)
startElement(WriteContext, String, String, String, Attributes) - Method in class org.apache.commons.betwixt.io.BeanWriter
Writes the start tag for an element.
startElement(WriteContext, String, String, String, Attributes) - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
Writes the start tag for an element.
STRING_SIMPLE_TYPE - Static variable in class org.apache.commons.betwixt.schema.GlobalElement
 
StringExpression - Class in org.apache.commons.betwixt.expression
StringExpression returns the current context object as a string.
StringExpression() - Constructor for class org.apache.commons.betwixt.expression.StringExpression
Base constructor.
stringToObject(String, Class, String, Context) - Method in class org.apache.commons.betwixt.strategy.ConvertUtilsObjectStringConverter
Converts an object to a string representation using ConvertUtils.
stringToObject(String, Class, String, Context) - Method in class org.apache.commons.betwixt.strategy.DefaultObjectStringConverter
Converts an object to a string representation using ConvertUtils.
stringToObject(String, Class, String, Context) - Method in class org.apache.commons.betwixt.strategy.ObjectStringConverter
Deprecated. 0.7 use ObjectStringConverter.stringToObject(String, Class, Context) instead. The preferred way to support flavours is by setting the org.apache.commons.betwixt.FLAVOUR option. This can then be retrieved by calling Context.getOptions()
stringToObject(String, Class, Context) - Method in class org.apache.commons.betwixt.strategy.ObjectStringConverter
Converts a string representation to an object.
suppress(AttributeDescriptor) - Method in interface org.apache.commons.betwixt.strategy.AttributeSuppressionStrategy
Should the attribute described as given be suppressed during introspection?
suppress(ElementDescriptor) - Method in interface org.apache.commons.betwixt.strategy.ElementSuppressionStrategy
Should the element described as given be suppressed?
SUPPRESS_EMPTY - Static variable in class org.apache.commons.betwixt.strategy.ValueSuppressionStrategy
Suppresses all null values.
suppressAttribute(AttributeDescriptor, String) - Method in class org.apache.commons.betwixt.strategy.ValueSuppressionStrategy
Should the given attribute value be suppressed?
suppressElement(ElementDescriptor, String, String, String, Object) - Method in class org.apache.commons.betwixt.strategy.ValueSuppressionStrategy
Should be given element value be suppressed?
suppressProperty(Class, Class, String) - Method in class org.apache.commons.betwixt.strategy.impl.propertysuppression.PackageSuppressor
 
suppressProperty(Class, Class, String) - Method in class org.apache.commons.betwixt.strategy.PropertySuppressionStrategy.Chain
 
suppressProperty(Class, Class, String) - Method in class org.apache.commons.betwixt.strategy.PropertySuppressionStrategy.Default
 
suppressProperty(Class, Class, String) - Method in class org.apache.commons.betwixt.strategy.PropertySuppressionStrategy
Should the given property be suppressed?
swapDescriptor(ElementDescriptor, ElementDescriptor, ElementDescriptor) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Deprecated. 0.6 now unused

T

TextDescriptor - Class in org.apache.commons.betwixt
Describes mixed-content text.
TextDescriptor() - Constructor for class org.apache.commons.betwixt.TextDescriptor
Base constructor
TextRule - Class in org.apache.commons.betwixt.digester
Rule for parsing <text> elements.
TextRule() - Constructor for class org.apache.commons.betwixt.digester.TextRule
Base constructor
toString() - Method in class org.apache.commons.betwixt.AttributeDescriptor
Return something useful for logging
toString() - Method in class org.apache.commons.betwixt.ElementDescriptor
Returns something useful for logging.
toString() - Method in class org.apache.commons.betwixt.expression.ClassNameExpression
Returns something useful for logging.
toString() - Method in class org.apache.commons.betwixt.expression.ConstantExpression
Returns something useful for logging
toString() - Method in class org.apache.commons.betwixt.expression.DynaBeanUpdater
Outputs something suitable for logging.
toString() - Method in class org.apache.commons.betwixt.expression.EmptyExpression
Return something useful for logging.
toString() - Method in class org.apache.commons.betwixt.expression.IteratorExpression
Returns something useful for logging
toString() - Method in class org.apache.commons.betwixt.expression.MethodExpression
Returns something useful for logging.
toString() - Method in class org.apache.commons.betwixt.expression.MethodUpdater
Returns something useful for logging.
toString() - Method in class org.apache.commons.betwixt.expression.StringExpression
Returns something useful for logging.
toString() - Method in class org.apache.commons.betwixt.expression.VariableExpression
Returns something useful for logging
toString() - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Return something meaningful for logging.
toString() - Method in class org.apache.commons.betwixt.io.read.ElementMapping
Returns something useful for logging.
toString() - Method in class org.apache.commons.betwixt.schema.Attribute
 
toString() - Method in class org.apache.commons.betwixt.schema.GlobalComplexType
 
toString() - Method in class org.apache.commons.betwixt.schema.GlobalElement
 
toString() - Method in class org.apache.commons.betwixt.schema.LocalComplexType
 
toString() - Method in class org.apache.commons.betwixt.schema.Schema
 
toString() - Method in class org.apache.commons.betwixt.schema.SimpleLocalElement
 
toString() - Method in class org.apache.commons.betwixt.schema.SimpleType
 
toString() - Method in class org.apache.commons.betwixt.schema.strategy.impl.ClassNameSchemaNamingStrategy
Outputs brief description.
toString() - Method in class org.apache.commons.betwixt.schema.strategy.impl.ElementSchemaNamingStrategy
 
toString() - Method in class org.apache.commons.betwixt.schema.strategy.impl.QualifiedPropertyTypeSchemaNamingStrategy
Outputs brief description.
toString() - Method in class org.apache.commons.betwixt.strategy.CapitalizeNameMapper
Outputs a brief description.
toString() - Method in class org.apache.commons.betwixt.strategy.DecapitalizeNameMapper
Outputs a brief description.
toString() - Method in class org.apache.commons.betwixt.strategy.HyphenatedNameMapper
Outputs brief description.
toString() - Method in class org.apache.commons.betwixt.strategy.impl.propertysuppression.PackageSuppressor
 
toString() - Method in class org.apache.commons.betwixt.strategy.PropertySuppressionStrategy.Default
 
toString() - Method in class org.apache.commons.betwixt.strategy.SimpleTypeMapper.Binding
Generate something appropriate for logging.
toString() - Method in class org.apache.commons.betwixt.strategy.TypeBindingStrategy.BindingType
 
toString() - Method in class org.apache.commons.betwixt.XMLBeanInfo
Gets log-friendly string representation.
toXMLSchemaDataType(Class) - Method in class org.apache.commons.betwixt.schema.DataTypeMapper
 
toXMLSchemaDataType(Class) - Method in class org.apache.commons.betwixt.schema.DefaultDataTypeMapper
This implementation provides
TranscriptionConfiguration - Class in org.apache.commons.betwixt.schema
Configuration for XMLBeanInfo to XML schema transcription.
TranscriptionConfiguration() - Constructor for class org.apache.commons.betwixt.schema.TranscriptionConfiguration
 
TypeBindingStrategy - Class in org.apache.commons.betwixt.strategy
Determines the way that a type (of object) should be bound by Betwixt.
TypeBindingStrategy() - Constructor for class org.apache.commons.betwixt.strategy.TypeBindingStrategy
 
TypeBindingStrategy.BindingType - Class in org.apache.commons.betwixt.strategy
Enumerates the possible general ways that Betwixt can map a Java type to an XML type.
TypeBindingStrategy.Default - Class in org.apache.commons.betwixt.strategy
The default TypeBindingStrategy used by Betwixt.
TypeBindingStrategy.Default() - Constructor for class org.apache.commons.betwixt.strategy.TypeBindingStrategy.Default
 
TypedUpdater - Class in org.apache.commons.betwixt.expression
Abstracts common features for strongly typed Updater's.
TypedUpdater() - Constructor for class org.apache.commons.betwixt.expression.TypedUpdater
 

U

update(Context, String) - Method in class org.apache.commons.betwixt.expression.ClassNameExpression
Do nothing.
update(Context, Object) - Method in class org.apache.commons.betwixt.expression.CollectionUpdater
Updates collection contained by the context by adding the new value.
update(Context, String) - Method in class org.apache.commons.betwixt.expression.ConstantExpression
Do nothing
update(Context, String) - Method in class org.apache.commons.betwixt.expression.DynaBeanExpression
Do nothing.
update(Context, String) - Method in class org.apache.commons.betwixt.expression.EmptyExpression
Do nothing
update(Context, String) - Method in interface org.apache.commons.betwixt.expression.Expression
Deprecated. 0.5 use Updater instead
update(Context, String) - Method in class org.apache.commons.betwixt.expression.IteratorExpression
Do nothing
update(Context, String) - Method in class org.apache.commons.betwixt.expression.MethodExpression
Do nothing.
update(Context, String) - Method in class org.apache.commons.betwixt.expression.StringExpression
Do nothing
update(Context, Object) - Method in class org.apache.commons.betwixt.expression.TypedUpdater
Updates the current bean context with the given String value
update(Context, Object) - Method in interface org.apache.commons.betwixt.expression.Updater
Updates the current bean context with a new String value.
update(Context, String) - Method in class org.apache.commons.betwixt.expression.VariableExpression
Do nothing
Updater - Interface in org.apache.commons.betwixt.expression
Updater acts like an lvalue which updates the current context bean from some text from an XML attribute or element.
USE_BIND_TIME_TYPE - Static variable in class org.apache.commons.betwixt.strategy.MappingDerivationStrategy
Implementation that always uses bind time type mapping
USE_INTROSPECTION_TIME_TYPE - Static variable in class org.apache.commons.betwixt.strategy.MappingDerivationStrategy
Implementation that always uses introspection time type mapping
useBeanInfoSearchPath() - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Should the original java.reflect.Introspector bean info search path be used?
useBeanInfoSearchPath() - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.6 use getConfiguration().useBeanInfoSearchPath
useBindTimeTypeForMapping(Class, Class) - Method in class org.apache.commons.betwixt.strategy.MappingDerivationStrategy
Should bind time type be used for all elements of the given property type?

V

ValueSuppressionStrategy - Class in org.apache.commons.betwixt.strategy
Determines whether the expression of an attribute with a values should be suppressed.
ValueSuppressionStrategy() - Constructor for class org.apache.commons.betwixt.strategy.ValueSuppressionStrategy
 
VariableExpression - Class in org.apache.commons.betwixt.expression
VariableExpression represents a variable expression such as $foo which returns the value of the given variable.
VariableExpression() - Constructor for class org.apache.commons.betwixt.expression.VariableExpression
Base constructor
VariableExpression(String) - Constructor for class org.apache.commons.betwixt.expression.VariableExpression
Convenience constructor sets VariableName property

W

W3C_SCHEMA_INSTANCE_URI - Static variable in class org.apache.commons.betwixt.schema.SchemaTranscriber
 
W3C_SCHEMA_URI - Static variable in class org.apache.commons.betwixt.schema.SchemaTranscriber
 
write(Object) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Writes the given bean to the current stream using the XML introspector.
write(String, Object) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Writes the given bean to the current stream using the given qualifiedName.
write(Object, InputSource) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Writes the bean using the mapping specified in the InputSource.
write(String, ElementDescriptor, Context) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
write(String, ElementDescriptor, Context, String, String) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
write(Object) - Method in class org.apache.commons.betwixt.io.BeanWriter
Write the given object to the stream (and then flush).
writeAttribute(AttributeDescriptor, Context) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
writeAttributes(ElementDescriptor, Context) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
writeContent(ElementDescriptor, Context) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
WriteContext - Class in org.apache.commons.betwixt.io
Context against which content should be written.
WriteContext() - Constructor for class org.apache.commons.betwixt.io.WriteContext
 
writeIDREFElement(String, String, String) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
writeIndent() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new BeanWriter API
writeIndent() - Method in class org.apache.commons.betwixt.io.BeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
writePrintln() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
writePrintln() - Method in class org.apache.commons.betwixt.io.BeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
writeRestOfElement(String, ElementDescriptor, Context) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
writeXmlDeclaration(String) - Method in class org.apache.commons.betwixt.io.BeanWriter
A helper method that allows you to write the XML Declaration.

X

XMLBeanInfo - Class in org.apache.commons.betwixt
XMLBeanInfo represents the XML metadata information used to map a Java Bean cleanly to XML.
XMLBeanInfo(Class) - Constructor for class org.apache.commons.betwixt.XMLBeanInfo
Base constructor
XMLBeanInfoDigester - Class in org.apache.commons.betwixt.digester
XMLBeanInfoDigester is a digester of XML files containing XMLBeanInfo definitions for a JavaBean.
XMLBeanInfoDigester() - Constructor for class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Construct a new XMLBeanInfoDigester with default properties.
XMLBeanInfoDigester(SAXParser) - Constructor for class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Construct a new XMLBeanInfoDigester, allowing a SAXParser to be passed in.
XMLBeanInfoDigester(XMLReader) - Constructor for class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Construct a new XMLBeanInfoDigester, allowing an XMLReader to be passed in.
XMLBeanInfoRegistry - Interface in org.apache.commons.betwixt.registry
Plug in registry for XMLBeanInfo's.
XMLIntrospector - Class in org.apache.commons.betwixt
XMLIntrospector an introspector of beans to create a XMLBeanInfo instance.
XMLIntrospector() - Constructor for class org.apache.commons.betwixt.XMLIntrospector
Base constructor
XMLIntrospector(IntrospectionConfiguration) - Constructor for class org.apache.commons.betwixt.XMLIntrospector
Construct allows a custom configuration to be set on construction.
XMLIntrospectorHelper - Class in org.apache.commons.betwixt.digester
Deprecated.  
XMLIntrospectorHelper() - Constructor for class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Deprecated. Base constructor
XMLUtils - Class in org.apache.commons.betwixt
XMLUtils contains basic utility methods for XML.
XMLUtils() - Constructor for class org.apache.commons.betwixt.XMLUtils
Constructor for use by tools that required JavaBean instances.

A B C D E F G H I L M N O P Q R S T U V W X

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