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 org.apache.commons.betwixt.io.AbstractBeanWriter.
Abstract superclass for bean writers.
AbstractBeanWriter() - Constructor for class org.apache.commons.betwixt.io.AbstractBeanWriter
 
AbstractIDGenerator - class org.apache.commons.betwixt.io.id.AbstractIDGenerator.
Abstract superclass for IDGenerator implementations.
AbstractIDGenerator() - Constructor for class org.apache.commons.betwixt.io.id.AbstractIDGenerator
 
ActionMappingStrategy - class org.apache.commons.betwixt.strategy.ActionMappingStrategy.
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 org.apache.commons.betwixt.digester.AddDefaultsRule.
AddDefaultsRule appends all the default properties to the current element.
AddDefaultsRule() - Constructor for class org.apache.commons.betwixt.digester.AddDefaultsRule
Base constructor
addDescriptor(Descriptor) - Method in class org.apache.commons.betwixt.digester.AddDefaultsRule
Add a desciptor to the top object on the Digester stack.
addDescriptor(NodeDescriptor) - Method in class org.apache.commons.betwixt.digester.AddDefaultsRule
Deprecated. 0.5 replaced AddDefaultsRule.addDescriptor( Descriptor )
addElement(ElementReference) - 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.
addElement(LocalElement) - Method in class org.apache.commons.betwixt.schema.ComplexType
Adds an element to those contained by this type
addElementDescriptor(ElementDescriptor) - Method in class org.apache.commons.betwixt.ElementDescriptor
Adds a descriptor for a child element.
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.
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) - 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.
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
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.
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(BeanProperty, List, List, List) - Method in class org.apache.commons.betwixt.XMLIntrospector
Process a property.
addProperty(PropertyDescriptor, List, List, List) - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.5 use XMLIntrospector.addProperty(BeanProperty, 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.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.
addSubstitution(Class) - Method in class org.apache.commons.betwixt.strategy.ListedClassNormalizer
Adds the given substitute to the list.
addSubstitution(Class, Class) - Method in class org.apache.commons.betwixt.strategy.ListedClassNormalizer
Adds this given substitution to the list.
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 org.apache.commons.betwixt.io.read.ArrayBindAction.
Acts to bind an array property.
ArrayBindAction() - Constructor for class org.apache.commons.betwixt.io.read.ArrayBindAction
 
Attribute - class org.apache.commons.betwixt.schema.Attribute.
Models the attribute element in an XML schema.
ATTRIBUTE - Static variable in class org.apache.commons.betwixt.strategy.SimpleTypeMapper.Binding
 
Attribute() - Constructor for class org.apache.commons.betwixt.schema.Attribute
 
Attribute(AttributeDescriptor) - Constructor for class org.apache.commons.betwixt.schema.Attribute
 
Attribute(String, String) - Constructor for class org.apache.commons.betwixt.schema.Attribute
 
AttributeDescriptor - class org.apache.commons.betwixt.AttributeDescriptor.
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 org.apache.commons.betwixt.digester.AttributeRule.
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
 

B

BadCharacterReplacingNMapper - class org.apache.commons.betwixt.strategy.BadCharacterReplacingNMapper.
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 org.apache.commons.betwixt.strategy.BaseMixedContentEncodingStrategy.
Basic implementation for MixedContentEncodingStrategy supports variations of most common use case.
BaseMixedContentEncodingStrategy() - Constructor for class org.apache.commons.betwixt.strategy.BaseMixedContentEncodingStrategy
 
BeanBindAction - class org.apache.commons.betwixt.io.read.BeanBindAction.
Action that creates and binds a new bean instance.
BeanBindAction() - Constructor for class org.apache.commons.betwixt.io.read.BeanBindAction
 
BeanCreateRule - class org.apache.commons.betwixt.io.BeanCreateRule.
Deprecated. 0.5 this Rule does not allowed good integration with other Rules - use BeanRuleSet instead.
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, 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, 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 org.apache.commons.betwixt.io.read.BeanCreationChain.
A Chain of bean creators.
BeanCreationChain() - Constructor for class org.apache.commons.betwixt.io.read.BeanCreationChain
 
BeanCreationList - class org.apache.commons.betwixt.io.read.BeanCreationList.
Chain implementation that's backed by a list.
BeanCreationList() - Constructor for class org.apache.commons.betwixt.io.read.BeanCreationList
 
BeanProperty - class org.apache.commons.betwixt.BeanProperty.
Betwixt-centric view of a bean (or pseudo-bean) property.
BeanProperty(DynaProperty) - Constructor for class org.apache.commons.betwixt.BeanProperty
Constructs a BeanProperty from a DynaProperty
BeanProperty(PropertyDescriptor) - Constructor for class org.apache.commons.betwixt.BeanProperty
Constructs a BeanProperty from a PropertyDescriptor.
BeanProperty(String, Class, Expression, Updater) - Constructor for class org.apache.commons.betwixt.BeanProperty
Construct a BeanProperty.
BeanReader - class org.apache.commons.betwixt.io.BeanReader.
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 org.apache.commons.betwixt.io.BeanRuleSet.
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, 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.
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
BeanWriter - class org.apache.commons.betwixt.io.BeanWriter.
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(Attributes) - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Process the beginning of this element.
begin(String, String, Attributes) - Method in class org.apache.commons.betwixt.digester.TextRule
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.InfoRule
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.ElementRule
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(String, String, Attributes) - Method in class org.apache.commons.betwixt.digester.AddDefaultsRule
Process the beginning of this element.
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
Executes mapping action on new element.
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.ArrayBindAction
Mapping arrays requires the addition of a temporary object (an ArrayList) into the stack together with an updater for that object.
bind(String, Class, IntrospectionConfiguration) - Method in class org.apache.commons.betwixt.strategy.StandardSimpleTypeMapper
Implementation binds as per configuration
bind(String, Class, IntrospectionConfiguration) - Method in class org.apache.commons.betwixt.strategy.SimpleTypeMapper
Specifies the binding of a simple type.
BindingConfiguration - class org.apache.commons.betwixt.BindingConfiguration.
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.SimpleTypeBindAction
 
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
Executes mapping action for element body text
body(String, ReadContext) - Method in class org.apache.commons.betwixt.io.read.MappingAction.Base
 
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.SAXBeanWriter
Express body text
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.AbstractBeanWriter
Writes body text

C

CapitalizeNameMapper - class org.apache.commons.betwixt.strategy.CapitalizeNameMapper.
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 org.apache.commons.betwixt.io.read.ChainedBeanCreator.
Creator of beans that may delegate responsibility to members down the chain.
ChainedBeanCreatorFactory - class org.apache.commons.betwixt.io.read.ChainedBeanCreatorFactory.
Group of factory methods for ChainedBeanCreator's.
ChainedBeanCreatorFactory() - Constructor for class org.apache.commons.betwixt.io.read.ChainedBeanCreatorFactory
 
ClassNameExpression - class org.apache.commons.betwixt.expression.ClassNameExpression.
ClassNameExpression returns the current class name of the context bean
ClassNameExpression() - Constructor for class org.apache.commons.betwixt.expression.ClassNameExpression
Base constructor
ClassNormalizer - class org.apache.commons.betwixt.strategy.ClassNormalizer.
Class normalization strategy.
ClassNormalizer() - Constructor for class org.apache.commons.betwixt.strategy.ClassNormalizer
 
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
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 org.apache.commons.betwixt.schema.ComplexLocalElement.
 
ComplexLocalElement(TranscriptionConfiguration, ElementDescriptor, Schema) - Constructor for class org.apache.commons.betwixt.schema.ComplexLocalElement
 
ComplexType - class org.apache.commons.betwixt.schema.ComplexType.
 
ComplexType() - Constructor for class org.apache.commons.betwixt.schema.ComplexType
 
ComplexType(TranscriptionConfiguration, ElementDescriptor, Schema) - Constructor for class org.apache.commons.betwixt.schema.ComplexType
 
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
Sets the Expression and Updater from a bean property name Allows a custom updater to be passed in.
configureProperty(AttributeDescriptor, PropertyDescriptor) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Deprecated. 0.6 moved into AttributeRule
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
ConstantExpression - class org.apache.commons.betwixt.expression.ConstantExpression.
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 org.apache.commons.betwixt.expression.Context.
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(Context) - Constructor for class org.apache.commons.betwixt.expression.Context
Construct a cloned context.
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(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 org.apache.commons.betwixt.strategy.ConvertUtilsObjectStringConverter.
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.BeanCreationList
Creates an Object based on the given element mapping and read context.
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, 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
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) - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.5 use XMLIntrospector.createXMLDescriptor(org.apache.commons.betwixt.BeanProperty).
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)
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(BeanInfo) - Method in class org.apache.commons.betwixt.XMLIntrospector
Factory method to create XMLBeanInfo instances
createXMLBeanInfo(DynaClass) - Method in class org.apache.commons.betwixt.XMLIntrospector
Creates XMLBeanInfo for the given DynaClass.
createXMLDescriptor(BeanProperty) - Method in class org.apache.commons.betwixt.XMLIntrospector
Create a XML descriptor from a bean one.
createXMLDescriptor(IntrospectionConfiguration) - Method in class org.apache.commons.betwixt.BeanProperty
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 org.apache.commons.betwixt.io.CyclicReferenceException.
Thrown when bean evaluation finds a cycle reference.
CyclicReferenceException() - Constructor for class org.apache.commons.betwixt.io.CyclicReferenceException
Construct exception with default message.
CyclicReferenceException(String) - Constructor for class org.apache.commons.betwixt.io.CyclicReferenceException
Construct exception with message

D

DataTypeMapper - class org.apache.commons.betwixt.schema.DataTypeMapper.
Maps Java simple data types into XML schema data types.
DataTypeMapper() - Constructor for class org.apache.commons.betwixt.schema.DataTypeMapper
 
DecapitalizeNameMapper - class org.apache.commons.betwixt.strategy.DecapitalizeNameMapper.
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.MixedContentEncodingStrategy
The standard implementation used by Betwixt by default.
DEFAULT - Static variable in class org.apache.commons.betwixt.strategy.ActionMappingStrategy
Default ActionMappingStrategy used by betwixt
DEFAULT - Static variable in class org.apache.commons.betwixt.strategy.TypeBindingStrategy
The default Betwixt TypeBindingStrategy implementation.
DefaultActionMappingStrategy - class org.apache.commons.betwixt.strategy.DefaultActionMappingStrategy.
 
DefaultActionMappingStrategy() - Constructor for class org.apache.commons.betwixt.strategy.DefaultActionMappingStrategy
 
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(XMLIntrospector, ElementDescriptor, Class) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Deprecated. 0.6 use the method in XMLIntrospector instead
DefaultDataTypeMapper - class org.apache.commons.betwixt.schema.DefaultDataTypeMapper.
Default DataTypeMapperimplementation.
DefaultDataTypeMapper() - Constructor for class org.apache.commons.betwixt.schema.DefaultDataTypeMapper
 
DefaultNameMapper - class org.apache.commons.betwixt.strategy.DefaultNameMapper.
A default implementation of the name mapper.
DefaultNameMapper() - Constructor for class org.apache.commons.betwixt.strategy.DefaultNameMapper
 
DefaultObjectStringConverter - class org.apache.commons.betwixt.strategy.DefaultObjectStringConverter.
Default string <-> object conversion strategy.
DefaultObjectStringConverter() - Constructor for class org.apache.commons.betwixt.strategy.DefaultObjectStringConverter
 
DefaultPluralStemmer - class org.apache.commons.betwixt.strategy.DefaultPluralStemmer.
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 org.apache.commons.betwixt.registry.DefaultXMLBeanInfoRegistry.
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 org.apache.commons.betwixt.Descriptor.
Describes a content node mapping.
Descriptor() - Constructor for class org.apache.commons.betwixt.Descriptor
Base constructor
DynaBeanExpression - class org.apache.commons.betwixt.expression.DynaBeanExpression.
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.

E

Element - interface org.apache.commons.betwixt.schema.Element.
 
ELEMENT - Static variable in class org.apache.commons.betwixt.strategy.SimpleTypeMapper.Binding
 
ElementDescriptor - class org.apache.commons.betwixt.ElementDescriptor.
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 org.apache.commons.betwixt.io.read.ElementMapping.
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 org.apache.commons.betwixt.schema.ElementReference.
 
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 org.apache.commons.betwixt.digester.ElementRule.
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
 
EMPTY - Static variable in class org.apache.commons.betwixt.io.read.MappingAction
 
EmptyExpression - class org.apache.commons.betwixt.expression.EmptyExpression.
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() - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
This method will announce the end of the document to the contenthandler.
end() - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Process the end of this element.
end() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Marks the start of the bean writing.
end(ReadContext) - Method in class org.apache.commons.betwixt.io.read.BeanBindAction
 
end(ReadContext) - Method in class org.apache.commons.betwixt.io.read.MappingAction
Executes mapping action one element ends
end(ReadContext) - Method in class org.apache.commons.betwixt.io.read.MappingAction.Base
 
end(ReadContext) - Method in class org.apache.commons.betwixt.io.read.ArrayBindAction
Pops the ArrayList and the updater from their stacks.
end(String, String) - Method in class org.apache.commons.betwixt.digester.OptionRule
 
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.ElementRule
Process the end of this element.
end(String, String) - Method in class org.apache.commons.betwixt.digester.AttributeRule
Process the end of this 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.SAXBeanWriter
Writes the end tag for an element
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.AbstractBeanWriter
Writes the end tag for an element
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.schema.GlobalComplexType
 
equals(Object) - Method in class org.apache.commons.betwixt.schema.GlobalElement
 
equals(Object) - Method in class org.apache.commons.betwixt.schema.Schema
 
equals(Object) - Method in class org.apache.commons.betwixt.schema.LocalComplexType
 
equals(Object) - Method in class org.apache.commons.betwixt.schema.Attribute
 
equals(Object) - Method in class org.apache.commons.betwixt.strategy.TypeBindingStrategy.BindingType
 
equals(Object) - Method in class org.apache.commons.betwixt.strategy.SimpleTypeMapper.Binding
Equals compatible with the enumeration.
escapeAttributeValue(Object) - Static method in class org.apache.commons.betwixt.XMLUtils
Escape the toString of the given object.
escapeAttributeValue(Object) - Method in class org.apache.commons.betwixt.io.BeanWriter
Deprecated. 0.5 moved into utility class XMLUtils.escapeAttributeValue(java.lang.Object)
escapeBodyValue(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)
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.VariableExpression
Return the value of a context variable.
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.MethodExpression
Evaluate by calling the read method on the current bean
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.EmptyExpression
Return the bean we're evaluating.
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.ConstantExpression
Evaluate expression against given context.
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 interface org.apache.commons.betwixt.expression.Expression
Evaluates the expression on the bean with the given context and returns the result
expressAttribute(String, String) - Method in class org.apache.commons.betwixt.io.BeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
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
expressBodyText(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
expressElementEnd() - 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.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(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
expressElementStart(String) - 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
Expression - interface org.apache.commons.betwixt.expression.Expression.
Expression represents an arbitrary expression on a bean.
expressTagClose() - Method in class org.apache.commons.betwixt.io.BeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
expressTagClose() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API

F

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
 
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.
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.NoCacheRegistry
Nothing cached so nothing to flush
flush() - Method in class org.apache.commons.betwixt.registry.DefaultXMLBeanInfoRegistry
Flush existing cached XMLBeanInfo's.
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.NoCacheRegistry
Always return null.
get(Class) - Method in class org.apache.commons.betwixt.registry.DefaultXMLBeanInfoRegistry
Get XMLBeanInfo from cache.
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
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.
getBean() - Method in class org.apache.commons.betwixt.expression.Context
Gets the current bean.
getBean() - Method in class org.apache.commons.betwixt.io.read.ReadContext
 
getBean(String) - Method in class org.apache.commons.betwixt.io.read.ReadContext
Gets a bean from storage by an (xml) ID.
getBeanClass() - Method in class org.apache.commons.betwixt.XMLBeanInfo
Gets the beans class that this XML info refers to
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.digester.RuleSupport
Gets the class of the bean whose .betwixt file is being digested
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.
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.BeanReader
Gets the dynamic configuration setting to be used for bean reading.
getBindingConfiguration() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
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.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.
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.
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
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.XMLIntrospector
Gets the configuration to be used for introspection.
getConfiguration() - Method in class org.apache.commons.betwixt.schema.SchemaTranscriber
Gets the configuration for the XMLBeanInfo to XML schema transcription.
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.WriteContext
Gets the descriptor for the element who content is currently being created.
getCurrentDescriptor() - Method in class org.apache.commons.betwixt.io.read.ReadContext
Gets the ElementDescriptor that describes the mapping for the current element.
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() - Method in class org.apache.commons.betwixt.XMLBeanInfo
Gets descriptor for bean represention
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(ElementDescriptor, ReadContext) - Method in class org.apache.commons.betwixt.io.read.BeanBindAction
Allows the navigation from a reference to a property object to the descriptor defining what the property is.
getElementDescriptor(String) - Method in class org.apache.commons.betwixt.ElementDescriptor
Gets a child ElementDescriptor matching the given name if one exists.
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.Schema
Gets the elements definied
getElements() - Method in class org.apache.commons.betwixt.schema.ComplexType
Gets the elements contained by this type
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 .
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
getInstance() - Static method in class org.apache.commons.betwixt.expression.StringExpression
Gets the singleton
getInstance() - Static method in class org.apache.commons.betwixt.expression.EmptyExpression
Gets the singleton instance.
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 interface org.apache.commons.betwixt.io.IDGenerator
Get the last ID value generated.
getLastId() - Method in class org.apache.commons.betwixt.io.id.AbstractIDGenerator
Gets last ID returned.
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() - Method in class org.apache.commons.betwixt.XMLIntrospector
Gets the current logging implementation.
getLog() - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
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.SAXBeanWriter
Set the log implementation used.
getLog() - Method in class org.apache.commons.betwixt.io.BeanWriter
Set the log implementation used.
getLog() - Method in class org.apache.commons.betwixt.io.BeanReader
Get the current level for logging.
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.DefaultActionMappingStrategy
Gets the mapping action to map the given element.
getMappingAction(String, String, Attributes, ReadContext) - Method in class org.apache.commons.betwixt.strategy.ActionMappingStrategy
Gets the mapping action to map the given element.
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.MethodUpdater
Gets the method which will be invoked by the update
getMethod() - Method in class org.apache.commons.betwixt.expression.MethodExpression
Gets the method used to evaluate this expression.
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.SimpleType
Gets the name
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 interface org.apache.commons.betwixt.schema.Element
 
getName() - Method in class org.apache.commons.betwixt.schema.LocalElement
 
getName() - Method in class org.apache.commons.betwixt.schema.Attribute
Gets the attribute 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
Return 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.
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
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.XMLBeanInfoDigester
Gets the property names already processed
getProcessedPropertyNameSet() - Method in class org.apache.commons.betwixt.digester.RuleSupport
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.
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.
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.
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.SimpleLocalElement
 
getType() - Method in class org.apache.commons.betwixt.schema.GlobalElement
Gets the element type
getType() - Method in class org.apache.commons.betwixt.schema.ComplexLocalElement
 
getType() - Method in class org.apache.commons.betwixt.schema.Attribute
Gets the attribute type
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
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.XMLBeanInfoDigester
Gets the XMLIntrospector that's using this digester.
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.io.BeanReader
Get the introspector used.
getXMLIntrospector() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Gets 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 org.apache.commons.betwixt.schema.GlobalComplexType.
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 org.apache.commons.betwixt.schema.GlobalElement.
Models the Element tag in the XML schema.
GlobalElement() - Constructor for class org.apache.commons.betwixt.schema.GlobalElement
 
GlobalElement(String, GlobalComplexType) - Constructor for class org.apache.commons.betwixt.schema.GlobalElement
 
GlobalElement(String, String) - 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 in class org.apache.commons.betwixt.expression.MethodUpdater
Strategy method to allow derivations to handle exceptions differently.
handleException(Context, Exception) - Method in class org.apache.commons.betwixt.expression.MethodExpression
Log error to context's logger.
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.SimpleLocalElement
 
hashCode() - Method in class org.apache.commons.betwixt.schema.SimpleType
 
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.Schema
 
hashCode() - Method in class org.apache.commons.betwixt.schema.LocalComplexType
 
hashCode() - Method in class org.apache.commons.betwixt.schema.Attribute
 
hashCode() - Method in class org.apache.commons.betwixt.strategy.TypeBindingStrategy.BindingType
 
hashCode() - Method in class org.apache.commons.betwixt.strategy.SimpleTypeMapper.Binding
Implementation compatible with equals
HideRule - class org.apache.commons.betwixt.digester.HideRule.
HideRule hides the property of the given name.
HideRule() - Constructor for class org.apache.commons.betwixt.digester.HideRule
Base constructor
HyphenatedNameMapper - class org.apache.commons.betwixt.strategy.HyphenatedNameMapper.
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 org.apache.commons.betwixt.io.IDGenerator.
Interface allowing pluggable ID attribute value generators.
IGNORE - Static variable in class org.apache.commons.betwixt.io.read.MappingAction
 
InfoRule - class org.apache.commons.betwixt.digester.InfoRule.
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.GlobalComplexType
 
init(TranscriptionConfiguration, ElementDescriptor, Schema) - Method in class org.apache.commons.betwixt.schema.ComplexType
 
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.SimpleTypeBindAction
 
INSTANCE - Static variable in class org.apache.commons.betwixt.io.read.BeanBindAction
Singleton instance
introspect(BeanInfo) - Method in class org.apache.commons.betwixt.XMLIntrospector
Create a standard XMLBeanInfo by introspection.
introspect(Class) - Method in class org.apache.commons.betwixt.XMLIntrospector
Create a standard XMLBeanInfo by introspection.
introspect(Class) - Method in class org.apache.commons.betwixt.schema.Schema
Introspects the given type giving an XMLBeanInfo.
introspect(DynaClass) - Method in class org.apache.commons.betwixt.XMLIntrospector
Creates XMLBeanInfo by reading the DynaProperties of a DynaBean.
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.
IntrospectionConfiguration - class org.apache.commons.betwixt.IntrospectionConfiguration.
Stores introspection phase binding configuration.
IntrospectionConfiguration() - Constructor for class org.apache.commons.betwixt.IntrospectionConfiguration
 
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
isAttributesForPrimitives() - Method in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Should attributes (or elements) be used for primitive types?
isCachingEnabled() - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.5 replaced by XMlBeanInfoRegistry
isCollective() - Method in class org.apache.commons.betwixt.ElementDescriptor
TODO is this implementation correct? maybe this method is unnecessary
isEndTagForEmptyElement() - Method in class org.apache.commons.betwixt.io.BeanWriter
Should an end tag be added for each empty element? When this property is false then empty elements will be written as <element-name/gt;.
isHollow() - Method in class org.apache.commons.betwixt.ElementDescriptor
Is this decriptor hollow? A hollow descriptor is one which gives only the class that the subgraph is mapped to rather than describing the entire subgraph.
isLoopType(Class) - Method in class org.apache.commons.betwixt.XMLIntrospector
Is this class a loop?
isLoopType(Class) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Is this a loop type class?
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.
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? TODO: this method will probably be deprecated when primitive types are subsumed into the simple type concept
isPrimitiveType(Class) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Deprecated. 0.6 replaced by TypeBindingStrategy
isSimple() - Method in class org.apache.commons.betwixt.ElementDescriptor
Is this a simple element? A simple element is one without child elements or attributes.
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? Otherwise, it will be converted to lower case.
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.IntrospectionConfiguration
Should collections be wrapped in an extra element?
isWrapCollectionsInElement() - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.6 use getConfiguration().isWrapCollectionsInElement
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
IteratorExpression - class org.apache.commons.betwixt.expression.IteratorExpression.
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 org.apache.commons.betwixt.strategy.ListedClassNormalizer.
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)
LocalComplexType - class org.apache.commons.betwixt.schema.LocalComplexType.
 
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 org.apache.commons.betwixt.schema.LocalElement.
 
LocalElement(ElementDescriptor, Schema) - Constructor for class org.apache.commons.betwixt.schema.LocalElement
 
LocalElement(String) - Constructor for class org.apache.commons.betwixt.schema.LocalElement
 
log - Variable in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.6 use the XMLIntrospector.getLog() property instead
log - Static variable in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Log used for logging (Doh!)
log - Static variable in class org.apache.commons.betwixt.strategy.DefaultPluralStemmer
Log used for logging (Doh!)

M

makeElementDescriptorMap(ElementDescriptor, Map) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Deprecated. 0.6 moved into XMLIntrospector
MapEntryAdder - class org.apache.commons.betwixt.expression.MapEntryAdder.
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 org.apache.commons.betwixt.digester.MappedPropertyRule.
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 org.apache.commons.betwixt.io.read.MappingAction.
Executes mapping action for a subgraph.
MappingAction.Base - class org.apache.commons.betwixt.io.read.MappingAction.Base.
Basic action.
MappingAction.Base() - Constructor for class org.apache.commons.betwixt.io.read.MappingAction.Base
 
MappingAction() - Constructor for class org.apache.commons.betwixt.io.read.MappingAction
 
mapTypeToElementName(String) - Method in class org.apache.commons.betwixt.strategy.HyphenatedNameMapper
The words within the bean name are deduced assuming the first-letter-capital (e.g.
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.DecapitalizeNameMapper
Decapitalize first letter unless both are upper case.
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.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 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.
maxOccurs - Variable in class org.apache.commons.betwixt.schema.ElementReference
 
maxOccurs - Variable in class org.apache.commons.betwixt.schema.LocalElement
 
MethodExpression - class org.apache.commons.betwixt.expression.MethodExpression.
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 org.apache.commons.betwixt.expression.MethodUpdater.
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 org.apache.commons.betwixt.strategy.MixedContentEncodingStrategy.
Encodes body content.
MixedContentEncodingStrategy() - Constructor for class org.apache.commons.betwixt.strategy.MixedContentEncodingStrategy
 

N

name - Variable in class org.apache.commons.betwixt.schema.LocalElement
 
NameMapper - interface org.apache.commons.betwixt.strategy.NameMapper.
A plugin Strategy pattern for converting Java type names into element names.
NamespacePrefixMapper - class org.apache.commons.betwixt.strategy.NamespacePrefixMapper.
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.SimpleTypeBindAction
 
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.MappingAction.Base
 
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
nextId() - Method in interface org.apache.commons.betwixt.io.IDGenerator
Generate a new ID attribute value.
nextId() - Method in class org.apache.commons.betwixt.io.id.AbstractIDGenerator
Generate next ID.
nextIdImpl() - Method in class org.apache.commons.betwixt.io.id.SequentialIDGenerator
Increment counter and then return value.
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.AbstractIDGenerator
Subclasses should provide an implementation for this method.
NoCacheRegistry - class org.apache.commons.betwixt.registry.NoCacheRegistry.
This plug-in registry does not cache at all.
NoCacheRegistry() - Constructor for class org.apache.commons.betwixt.registry.NoCacheRegistry
 
NodeDescriptor - class org.apache.commons.betwixt.NodeDescriptor.
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.ListedClassNormalizer
Normalize given class.
normalize(Class) - Method in class org.apache.commons.betwixt.strategy.ClassNormalizer
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 org.apache.commons.betwixt.strategy.ObjectStringConverter.
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.DefaultObjectStringConverter
Converts an object to a string representation using ConvertUtils.
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.ObjectStringConverter
Converts an object to a string representation.
OptionRule - class org.apache.commons.betwixt.digester.OptionRule.
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 org.apache.commons.betwixt.Options.
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.strategy - package org.apache.commons.betwixt.strategy
This package contains a variety of plugin Strategy patterns that can be used to customize the default behaviour.of the XMLIntrospector

P

PluralStemmer - interface org.apache.commons.betwixt.strategy.PluralStemmer.
A plugin Strategy pattern which will detect the plural property which maps to a singular property name.
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
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.
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
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.NoCacheRegistry
Do nothing (this implementation does not cache)
put(Class, XMLBeanInfo) - Method in class org.apache.commons.betwixt.registry.DefaultXMLBeanInfoRegistry
Put into 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

QUOTE_ENTITY - Static variable in class org.apache.commons.betwixt.XMLUtils
Escaped " entity

R

RandomIDGenerator - class org.apache.commons.betwixt.io.id.RandomIDGenerator.
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 org.apache.commons.betwixt.io.read.ReadConfiguration.
Stores mapping phase configuration settings that apply only for bean reading.
ReadConfiguration() - Constructor for class org.apache.commons.betwixt.io.read.ReadConfiguration
 
ReadContext - class org.apache.commons.betwixt.io.read.ReadContext.
Extends Context to provide read specific functionality.
ReadContext(BindingConfiguration, ReadConfiguration) - Constructor for class org.apache.commons.betwixt.io.read.ReadContext
Constructs a ReadContext with standard log.
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(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.
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.
RuleSupport - class org.apache.commons.betwixt.digester.RuleSupport.
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 org.apache.commons.betwixt.io.SAXBeanWriter.
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 org.apache.commons.betwixt.schema.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 org.apache.commons.betwixt.schema.SchemaTranscriber.
Generates XML Schemas for Betwixt mappings.
SchemaTranscriber() - Constructor for class org.apache.commons.betwixt.schema.SchemaTranscriber
 
SequentialIDGenerator - class org.apache.commons.betwixt.io.id.SequentialIDGenerator.
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.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
setAttributesForPrimitives(boolean) - Method in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Set whether attributes (or elements) should be used for primitive types.
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.XMLBeanInfo
Sets the beans class that this XML info refers to
setBeanClass(Class) - Method in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Sets the beans class for this XML descriptor
setBeanCreationChain(BeanCreationChain) - Method in class org.apache.commons.betwixt.io.read.ReadConfiguration
Sets the BeanCreationChain that should be used to construct beans.
setBindingConfiguration(BindingConfiguration) - Method in class org.apache.commons.betwixt.io.BeanReader
Sets the dynamic configuration setting to be used for bean reading.
setBindingConfiguration(BindingConfiguration) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
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.BeanRuleSet
Deprecated. 0.5 set the ReadContext property instead
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.
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
setComplexType(GlobalComplexType) - Method in class org.apache.commons.betwixt.schema.GlobalElement
Sets the anonymous type definition for this element
setConfiguration(IntrospectionConfiguration) - Method in class org.apache.commons.betwixt.XMLIntrospector
Sets the configuration to be used for introspection.
setConfiguration(TranscriptionConfiguration) - Method in class org.apache.commons.betwixt.schema.SchemaTranscriber
Sets the configuration for the XMLBeanInfo to XML schema transcription.
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
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? When this property is false then empty elements will be written as <element-name/gt;.
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.
setIDREFAttributeName(String) - Method in class org.apache.commons.betwixt.XMLBeanInfo
Set IDREF attribute name This is used (for example) to deal with cyclic references.
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
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) - Method in class org.apache.commons.betwixt.XMLIntrospector
Sets the current logging implementation.
setLog(Log) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Sets the current logging implementation.
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.expression.MethodUpdater
Programmatically set log
setLog(Log) - Static method in class org.apache.commons.betwixt.expression.MapEntryAdder
Sets the logger used by this class.
setLog(Log) - Method in class org.apache.commons.betwixt.expression.Context
Set the log implementation to which this class logs
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.io.BeanWriter
Set the log implementation used.
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.BeanReader
Set the current logging level.
setLog(Log) - Static method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Set log to be used by BeanCreateRule instances
setMapIDs(boolean) - Method in class org.apache.commons.betwixt.BindingConfiguration
Should ID's and IDREF attributes be used to cross-reference matching objects?
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.MethodUpdater
Sets the constant value of this expression
setMethod(Method) - Method in class org.apache.commons.betwixt.expression.MethodExpression
Sets the method used to evaluate 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.SimpleType
Sets the 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.Attribute
Sets the attribute 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
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.
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.
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
 
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(LocalComplexType) - Method in class org.apache.commons.betwixt.schema.ComplexLocalElement
 
setType(String) - Method in class org.apache.commons.betwixt.schema.SimpleLocalElement
 
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.Attribute
Sets the attribute type
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
setValue(Object) - Method in class org.apache.commons.betwixt.expression.ConstantExpression
Sets the constant value of this expression
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.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
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
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.BeanReader
Set the introspector to be used.
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.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 org.apache.commons.betwixt.schema.SimpleLocalElement.
 
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 org.apache.commons.betwixt.schema.SimpleType.
Models a simpleType tag in an XML schema.
SimpleType() - Constructor for class org.apache.commons.betwixt.schema.SimpleType
 
SimpleTypeBindAction - class org.apache.commons.betwixt.io.read.SimpleTypeBindAction.
Action binds a simple type.
SimpleTypeBindAction() - Constructor for class org.apache.commons.betwixt.io.read.SimpleTypeBindAction
 
SimpleTypeMapper - class org.apache.commons.betwixt.strategy.SimpleTypeMapper.
Strategy for binding simple types.
SimpleTypeMapper.Binding - class org.apache.commons.betwixt.strategy.SimpleTypeMapper.Binding.
Enumerates binding options for simple types.
SimpleTypeMapper() - Constructor for class org.apache.commons.betwixt.strategy.SimpleTypeMapper
 
StandardSimpleTypeMapper - class org.apache.commons.betwixt.strategy.StandardSimpleTypeMapper.
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.SAXBeanWriter
This will announce the start of the document to the contenthandler.
start() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Marks the start of the bean writing.
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.SAXBeanWriter
Writes the start tag for an element.
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.AbstractBeanWriter
Writes the start tag for an element.
STRING_SIMPLE_TYPE - Static variable in class org.apache.commons.betwixt.schema.GlobalElement
 
StringExpression - class org.apache.commons.betwixt.expression.StringExpression.
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.DefaultObjectStringConverter
Converts an object to a string representation using ConvertUtils.
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.ObjectStringConverter
Converts a string representation to an object.
swapDescriptor(ElementDescriptor, ElementDescriptor, ElementDescriptor) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Deprecated. 0.6 now unused

T

TextDescriptor - class org.apache.commons.betwixt.TextDescriptor.
Describes mixed-content text.
TextDescriptor() - Constructor for class org.apache.commons.betwixt.TextDescriptor
Base constructor
TextRule - class org.apache.commons.betwixt.digester.TextRule.
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.XMLBeanInfo
Gets log-friendly string representation.
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.VariableExpression
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.MethodUpdater
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.IteratorExpression
Returns something useful 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.ConstantExpression
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.io.BeanCreateRule
Deprecated. Return something meaningful for logging.
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.GlobalComplexType
 
toString() - Method in class org.apache.commons.betwixt.schema.GlobalElement
 
toString() - Method in class org.apache.commons.betwixt.schema.Schema
 
toString() - Method in class org.apache.commons.betwixt.schema.LocalComplexType
 
toString() - Method in class org.apache.commons.betwixt.schema.Attribute
 
toString() - Method in class org.apache.commons.betwixt.strategy.TypeBindingStrategy.BindingType
 
toString() - Method in class org.apache.commons.betwixt.strategy.SimpleTypeMapper.Binding
Generate something appropriate for logging.
toXMLSchemaDataType(Class) - Method in class org.apache.commons.betwixt.schema.DefaultDataTypeMapper
This implementation provides
toXMLSchemaDataType(Class) - Method in class org.apache.commons.betwixt.schema.DataTypeMapper
 
TranscriptionConfiguration - class org.apache.commons.betwixt.schema.TranscriptionConfiguration.
Configuration for XMLBeanInfo to XML schema transcription.
TranscriptionConfiguration() - Constructor for class org.apache.commons.betwixt.schema.TranscriptionConfiguration
 
TypeBindingStrategy - class org.apache.commons.betwixt.strategy.TypeBindingStrategy.
Determines the way that a type (of object) should be bound by Betwixt.
TypeBindingStrategy.BindingType - class org.apache.commons.betwixt.strategy.TypeBindingStrategy.BindingType.
Enumerates the possible general ways that Betwixt can map a Java type to an XML type.
TypeBindingStrategy.Default - class org.apache.commons.betwixt.strategy.TypeBindingStrategy.Default.
The default TypeBindingStrategy used by Betwixt.
TypeBindingStrategy.Default() - Constructor for class org.apache.commons.betwixt.strategy.TypeBindingStrategy.Default
 
TypeBindingStrategy() - Constructor for class org.apache.commons.betwixt.strategy.TypeBindingStrategy
 

U

update(Context, Object) - Method in class org.apache.commons.betwixt.expression.MethodUpdater
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
update(Context, String) - Method in class org.apache.commons.betwixt.expression.StringExpression
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.IteratorExpression
Do nothing
update(Context, String) - Method in class org.apache.commons.betwixt.expression.EmptyExpression
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.ConstantExpression
Do nothing
update(Context, String) - Method in class org.apache.commons.betwixt.expression.ClassNameExpression
Do nothing.
update(Context, String) - Method in interface org.apache.commons.betwixt.expression.Expression
Deprecated. 0.5 use Updater instead
Updater - interface org.apache.commons.betwixt.expression.Updater.
Updater acts like an lvalue which updates the current context bean from some text from an XML attribute or element.
useBeanInfoSearchPath() - Method in class org.apache.commons.betwixt.IntrospectionConfiguration
Should the original java.reflect.Introspector bean info search path be used? By default it will be false.
useBeanInfoSearchPath() - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.6 use getConfiguration().useBeanInfoSearchPath

V

VariableExpression - class org.apache.commons.betwixt.expression.VariableExpression.
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.BeanWriter
Write the given object to the stream (and then flush).
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, 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(String, Object) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Writes the given bean to the current stream using the given qualifiedName.
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 org.apache.commons.betwixt.io.WriteContext.
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.BeanWriter
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
writePrintln() - 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
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 org.apache.commons.betwixt.XMLBeanInfo.
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 org.apache.commons.betwixt.digester.XMLBeanInfoDigester.
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 org.apache.commons.betwixt.registry.XMLBeanInfoRegistry.
Plug in registry for XMLBeanInfo's.
XMLIntrospector - class org.apache.commons.betwixt.XMLIntrospector.
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 org.apache.commons.betwixt.digester.XMLIntrospectorHelper.
XMLIntrospectorHelper a helper class for common code shared between the digestor and introspector.
XMLIntrospectorHelper() - Constructor for class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Base constructor
XMLUtils - class org.apache.commons.betwixt.XMLUtils.
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-2004 The Apache Software Foundation. All Rights Reserved.