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
 
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
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 by AddDefaultsRule.addDescriptor( Descriptor )
addElementDescriptor(ElementDescriptor) - Method in class org.apache.commons.betwixt.ElementDescriptor
Adds a descriptor for a child element.
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.
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
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

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
 
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.
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.digester.AddDefaultsRule
Process the beginning of this element.
begin(Attributes) - Method in class org.apache.commons.betwixt.digester.AttributeRule
Process the beginning of this element.
begin(Attributes) - Method in class org.apache.commons.betwixt.digester.ElementRule
Process the beginning of this element.
begin(Attributes) - Method in class org.apache.commons.betwixt.digester.HideRule
Process the beginning of this element.
begin(Attributes) - Method in class org.apache.commons.betwixt.digester.InfoRule
Process the beginning of this element.
begin(Attributes) - Method in class org.apache.commons.betwixt.digester.TextRule
Process the beginning of this element.
begin(Attributes) - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Process the beginning of this element.
begin(String, String, Attributes) - Method in class org.apache.commons.betwixt.digester.OptionRule
 
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
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.AbstractBeanWriter
Writes 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.SAXBeanWriter
Express 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
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
Configure an AttributeDescriptor from a PropertyDescriptor
configureProperty(ElementDescriptor, PropertyDescriptor) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Configure an ElementDescriptor from a PropertyDescriptor.
configureProperty(ElementDescriptor, PropertyDescriptor, String, Class) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Configure an ElementDescriptor from a PropertyDescriptor.
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.BeanCreationChain
Create a bean for the given mapping in the given context.
create(ElementMapping, ReadContext) - Method in class org.apache.commons.betwixt.io.read.BeanCreationList
Creates an Object based on the given element mapping and read context.
create(ElementMapping, ReadContext, BeanCreationChain) - Method in interface org.apache.commons.betwixt.io.read.ChainedBeanCreator
Creates a bean either directly or by delegating the responsibility to the other members of the chain.
createBean(Attributes) - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Factory method to create new bean instances
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.
createNameMapper() - Method in class org.apache.commons.betwixt.XMLIntrospector
A Factory method to lazily create a strategy used to convert bean type names into element names.
createPluralStemmer() - Method in class org.apache.commons.betwixt.XMLIntrospector
A Factory method to lazily create a new strategy to detect matching singular and plural properties.
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.
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

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.
defaultAddMethods(XMLIntrospector, ElementDescriptor, Class) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Add any addPropety(PropertyType) methods as Updaters which are often used for 1-N relationships in beans.
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

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
Base constructor.
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
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
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.digester.AttributeRule
Process the end of this element.
end() - Method in class org.apache.commons.betwixt.digester.ElementRule
Process the end of this element.
end() - Method in class org.apache.commons.betwixt.digester.HideRule
Process the end of this element.
end() - Method in class org.apache.commons.betwixt.digester.InfoRule
Process the end of this element.
end() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Marks the start of the bean writing.
end() - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Process the end of this element.
end() - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
This method will announce the end of the document to the contenthandler.
end(String, String) - Method in class org.apache.commons.betwixt.digester.OptionRule
 
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.AbstractBeanWriter
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.SAXBeanWriter
Writes the end tag for an element
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.ClassNameExpression
Evaluate on the current context and return the class name
evaluate(Context) - Method in class org.apache.commons.betwixt.expression.ConstantExpression
Evaluate expression against given context.
evaluate(Context) - Method in class org.apache.commons.betwixt.expression.DynaBeanExpression
Returns the value of a DynaBean property from the bean stored in the Context.
evaluate(Context) - Method in class org.apache.commons.betwixt.expression.EmptyExpression
Return the bean we're evaluating.
evaluate(Context) - Method in interface org.apache.commons.betwixt.expression.Expression
Evaluates the expression on the bean with the given context and returns the result
evaluate(Context) - Method in class org.apache.commons.betwixt.expression.IteratorExpression
Returns an interator over the current context
evaluate(Context) - Method in class org.apache.commons.betwixt.expression.MethodExpression
Evaluate by calling the read method on the current bean
evaluate(Context) - Method in class org.apache.commons.betwixt.expression.StringExpression
Return the context bean as a string
evaluate(Context) - Method in class org.apache.commons.betwixt.expression.VariableExpression
Return the value of a context variable.
expressAttribute(String, String) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
expressAttribute(String, String) - Method in class org.apache.commons.betwixt.io.BeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
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.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
expressBodyText(String) - Method in class org.apache.commons.betwixt.io.BeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
expressElementEnd() - 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(String) - 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, 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.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, 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.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
expressTagClose() - Method in class org.apache.commons.betwixt.io.BeanWriter
Deprecated. 0.5 replaced by new SAX inspired API

F

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
Attempts to find the element descriptor for the getter property that typically matches a collection or array.
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.DefaultXMLBeanInfoRegistry
Flush existing cached XMLBeanInfo's.
flush() - Method in class org.apache.commons.betwixt.registry.NoCacheRegistry
Nothing cached so nothing to flush
flush() - Method in interface org.apache.commons.betwixt.registry.XMLBeanInfoRegistry
Flush or resets the current registry to it's original state.
flushCache() - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.5 use flushable registry instead
flushRegisteredBeanClasses() - Method in class org.apache.commons.betwixt.io.BeanReader
Flush all registered bean classes.

G

get(Class) - Method in class org.apache.commons.betwixt.registry.DefaultXMLBeanInfoRegistry
Get XMLBeanInfo from cache.
get(Class) - Method in class org.apache.commons.betwixt.registry.NoCacheRegistry
Always return null.
get(Class) - Method in interface org.apache.commons.betwixt.registry.XMLBeanInfoRegistry
Get the XMLBeanInfo for the given class.
getAbstractBeanWriterLog() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Gets the current logging implementation.
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.XMLIntrospector
Gets the name mapping strategy used to convert bean names into attributes.
getAttributes() - Method in class org.apache.commons.betwixt.io.read.ElementMapping
Gets the element's attributes.
getBean() - Method in class org.apache.commons.betwixt.expression.Context
Gets the current bean.
getBean(String) - Method in class org.apache.commons.betwixt.io.read.ReadContext
Gets a bean from storage by an (xml) ID.
getBeanClass() - Method in class org.apache.commons.betwixt.digester.RuleSupport
Gets the class of the bean whose .betwixt file is being digested
getBeanClass() - Method in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Gets the class of the bean whose .betwixt file is being processed
getBeanClass() - Method in class org.apache.commons.betwixt.XMLBeanInfo
Gets the beans class that this XML info refers to
getBeanCreationChain() - Method in class org.apache.commons.betwixt.io.read.ReadConfiguration
Gets the BeanCreationChain that should be used to construct beans.
getBeanCreationChain() - Method in class org.apache.commons.betwixt.io.read.ReadContext
Gets the BeanCreationChange to be used to create beans when an element is mapped.
getBeanReader() - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Get the associated bean reader.
getBeansById() - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Get the map used to index beans (previously read in) by id.
getBindingConfiguration() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Gets the dynamic configuration setting to be used for bean reading.
getBindingConfiguration() - Method in class org.apache.commons.betwixt.io.BeanReader
Gets the dynamic configuration setting to be used for bean reading.
getCallDocumentEvents() - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
Should document events (ie start and end) be called?
getClassLoader() - Method in class org.apache.commons.betwixt.io.read.ReadContext
Gets the classloader to be used.
getClassNameAttribute() - Method in class org.apache.commons.betwixt.BindingConfiguration
The name of the attribute which can be specified in the XML to override the type of a bean used at a certain point in the schema.
getClassNameAttribute() - Method in class org.apache.commons.betwixt.expression.Context
The name of the attribute which can be specified in the XML to override the type of a bean used at a certain point in the schema.
getClassNameAttribute() - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. The name of the attribute which can be specified in the XML to override the type of a bean used at a certain point in the schema.
getClassNameAttribute() - Method in class org.apache.commons.betwixt.io.BeanRuleSet
The name of the attribute which can be specified in the XML to override the type of a bean used at a certain point in the schema.
getClassNormalizer() - Method in class org.apache.commons.betwixt.XMLIntrospector
Gets the ClassNormalizer strategy.
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.
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.
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.XMLIntrospector
Gets the name mapping strategy used to convert bean names into elements.
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.EmptyExpression
Gets the singleton instance.
getInstance() - Static method in class org.apache.commons.betwixt.expression.StringExpression
Gets the singleton
getKeyUpdater() - Method in class org.apache.commons.betwixt.expression.MapEntryAdder
Gets the entry key Updater.
getLastId() - Method in class org.apache.commons.betwixt.io.id.AbstractIDGenerator
Gets last ID returned.
getLastId() - Method in interface org.apache.commons.betwixt.io.IDGenerator
Get the last ID value generated.
getLocalName() - Method in class org.apache.commons.betwixt.NodeDescriptor
Gets the local name, excluding any namespace prefix
getLog() - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Gets the current logging implementation.
getLog() - Method in class org.apache.commons.betwixt.XMLIntrospector
Gets the current logging implementation.
getLog() - Method in class org.apache.commons.betwixt.expression.Context
Gets the current log.
getLog() - Method in class org.apache.commons.betwixt.io.BeanReader
Get the current level for logging.
getLog() - Method in class org.apache.commons.betwixt.io.BeanWriter
Set the log implementation used.
getLog() - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
Set the log implementation used.
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?
getMatchIDs() - Method in class org.apache.commons.betwixt.io.BeanReader
Deprecated. 0.5 use BindingConfiguration.getMapIDs()
getMethod() - Method in class org.apache.commons.betwixt.expression.MethodExpression
Gets the method used to evaluate this expression.
getMethod() - Method in class org.apache.commons.betwixt.expression.MethodUpdater
Gets the method which will be invoked by the update
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.
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.XMLIntrospector
Get singular and plural matching strategy.
getPositiveIds() - Method in class org.apache.commons.betwixt.io.id.RandomIDGenerator
Gets whether only positive ID's should be generated
getPrimaryBodyTextDescriptor() - Method in class org.apache.commons.betwixt.ElementDescriptor
Gets the primary descriptor for body text of this element.
getProcessedPropertyNameSet() - Method in class org.apache.commons.betwixt.digester.RuleSupport
Gets the property names already processed
getProcessedPropertyNameSet() - Method in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Gets the property names already processed
getPropertyDescriptor(Class, String) - Method in class org.apache.commons.betwixt.digester.MappedPropertyRule
Returns the property descriptor for the class and property name.
getPropertyExpression() - Method in class org.apache.commons.betwixt.BeanProperty
Gets the expression used to read this property.
getPropertyName() - Method in class org.apache.commons.betwixt.BeanProperty
Gets the bean name for this property.
getPropertyName() - Method in class org.apache.commons.betwixt.Descriptor
Gets the name of the bean property to which this node refers
getPropertyName() - Method in class org.apache.commons.betwixt.expression.DynaBeanExpression
Gets the name of the property to get from the DynaBean.
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.
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.
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.
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.RuleSupport
Gets XMLIntrospector to be used for introspection
getXMLIntrospector() - Method in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Gets the XMLIntrospector that's using this digester.
getXMLIntrospector() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Gets the introspector used.
getXMLIntrospector() - Method in class org.apache.commons.betwixt.io.BeanReader
Get the introspector used.
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.MethodExpression
Log error to context's logger.
handleException(Context, Exception) - Method in class org.apache.commons.betwixt.expression.MethodUpdater
Strategy method to allow derivations to handle exceptions differently.
handleException(Exception) - Method in class org.apache.commons.betwixt.strategy.DefaultObjectStringConverter
Allow subclasses to use a different exception handling strategy.
hasAttributes() - Method in class org.apache.commons.betwixt.ElementDescriptor
Returns true if this element has AttributeDescriptors
hasChildren() - Method in class org.apache.commons.betwixt.ElementDescriptor
Returns true if this element has child ElementDescriptors
hasContent() - Method in class org.apache.commons.betwixt.ElementDescriptor
Returns true if this element has child content.
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.
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
insertBeanCreator(int, ChainedBeanCreator) - Method in class org.apache.commons.betwixt.io.read.BeanCreationList
Inserts a BeanCreator at the given position in the chain.
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(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.
isAttributesForPrimitives() - Method in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Should attributes (or elements) be used for primitive types?
isAttributesForPrimitives() - Method in class org.apache.commons.betwixt.XMLIntrospector
Should attributes (or elements) be used for primitive types.
isCachingEnabled() - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.5 replaced by XMlBeanInfoRegistry
isLoopType(Class) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Is this a loop type class?
isLoopType(Class) - Method in class org.apache.commons.betwixt.XMLIntrospector
Is this class a loop?
isNameChar(int) - Static method in class org.apache.commons.betwixt.XMLUtils
Returns true if the specified character is a valid name character as defined by the XML 1.0 specification.
isNameStartChar(int) - Static method in class org.apache.commons.betwixt.XMLUtils
Returns true if the specified character is a valid name start character as defined in the XML 1.0 specification.
isPrimitiveType() - Method in class org.apache.commons.betwixt.ElementDescriptor
Returns true if this element refers to a primitive type property
isPrimitiveType(Class) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Is this a primitive type?
isPrimitiveType(Class) - Method in class org.apache.commons.betwixt.XMLIntrospector
Is this class a primitive?
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.ElementDescriptor
Returns true if collective bean properties should wrap the items in a parent element.
isWrapCollectionsInElement() - Method in class org.apache.commons.betwixt.XMLIntrospector
Should collections be wrapped in an extra element?
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)
log - Static variable in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Log used for logging (Doh!)
log - Variable in class org.apache.commons.betwixt.XMLIntrospector
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
Creates a map where the keys are the property names and the values are the ElementDescriptors
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
mapTypeToElementName(String) - Method in class org.apache.commons.betwixt.strategy.BadCharacterReplacingNMapper
This implementation processes characters which are not allowed in xml element names and then returns the result from the next link in the chain.
mapTypeToElementName(String) - Method in class org.apache.commons.betwixt.strategy.CapitalizeNameMapper
Capitalize first letter of type name.
mapTypeToElementName(String) - Method in class org.apache.commons.betwixt.strategy.DecapitalizeNameMapper
Decapitalize first letter unless both are upper case.
mapTypeToElementName(String) - Method in class org.apache.commons.betwixt.strategy.DefaultNameMapper
This implementation returns the parameter passed after deleting any characters which the XML specification does not allow in element names.
mapTypeToElementName(String) - Method in class org.apache.commons.betwixt.strategy.HyphenatedNameMapper
The words within the bean name are deduced assuming the first-letter-capital (e.g.
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).
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
MixedContentEncodingStrategy - class org.apache.commons.betwixt.strategy.MixedContentEncodingStrategy.
Encodes body content.
MixedContentEncodingStrategy() - Constructor for class org.apache.commons.betwixt.strategy.MixedContentEncodingStrategy
 

N

NameMapper - interface org.apache.commons.betwixt.strategy.NameMapper.
A plugin Strategy pattern for converting Java type names into element names.
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.
nextId() - Method in class org.apache.commons.betwixt.io.id.AbstractIDGenerator
Generate next ID.
nextId() - Method in interface org.apache.commons.betwixt.io.IDGenerator
Generate a new ID attribute value.
nextIdImpl() - Method in class org.apache.commons.betwixt.io.id.AbstractIDGenerator
Subclasses should provide an implementation for this method.
nextIdImpl() - Method in class org.apache.commons.betwixt.io.id.RandomIDGenerator
Generates a random ID
nextIdImpl() - Method in class org.apache.commons.betwixt.io.id.SequentialIDGenerator
Increment counter and then return value.
NoCacheRegistry - class 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.ClassNormalizer
Normalize given class.
normalize(Class) - Method in class org.apache.commons.betwixt.strategy.ListedClassNormalizer
Normalize given class.
NULL_ARGUMENTS - Static variable in class org.apache.commons.betwixt.expression.MethodExpression
null arguments
NULL_CLASSES - Static variable in class org.apache.commons.betwixt.expression.MethodExpression
null classes

O

ObjectStringConverter - class 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.ConvertUtilsObjectStringConverter
Converts an object to a string representation using ConvertUtils.
objectToString(Object, Class, String, Context) - Method in class org.apache.commons.betwixt.strategy.DefaultObjectStringConverter
Converts an object to a string representation using ConvertUtils.
objectToString(Object, Class, String, Context) - Method in class org.apache.commons.betwixt.strategy.ObjectStringConverter
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
org.apache.commons.betwixt.digester - package org.apache.commons.betwixt.digester
org.apache.commons.betwixt.expression - package org.apache.commons.betwixt.expression
org.apache.commons.betwixt.io - package org.apache.commons.betwixt.io
org.apache.commons.betwixt.io.id - package org.apache.commons.betwixt.io.id
org.apache.commons.betwixt.io.read - package org.apache.commons.betwixt.io.read
org.apache.commons.betwixt.registry - package org.apache.commons.betwixt.registry
org.apache.commons.betwixt.strategy - package org.apache.commons.betwixt.strategy

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
pushBean(Object) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Pushes the bean onto the ancestry stack.
put(Class, XMLBeanInfo) - Method in class org.apache.commons.betwixt.registry.DefaultXMLBeanInfoRegistry
Put into cache
put(Class, XMLBeanInfo) - Method in class org.apache.commons.betwixt.registry.NoCacheRegistry
Do nothing (this implementation does not cache)
put(Class, XMLBeanInfo) - Method in interface org.apache.commons.betwixt.registry.XMLBeanInfoRegistry
Associate a class with it's XMLBeanInfo.
putBean(String, Object) - Method in class org.apache.commons.betwixt.io.read.ReadContext
Puts a bean into storage indexed by an (xml) ID.

Q

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.
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.
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.XMLIntrospector
Sets the strategy used to convert bean type names into attribute names
setAttributes(Attributes) - Method in class org.apache.commons.betwixt.io.read.ElementMapping
Sets the element's attributes
setAttributesForPrimitives(boolean) - Method in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Set whether attributes (or elements) should be used for primitive types.
setAttributesForPrimitives(boolean) - Method in class org.apache.commons.betwixt.XMLIntrospector
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.
setBeanClass(Class) - Method in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Sets the beans class for this XML descriptor
setBeanClass(Class) - Method in class org.apache.commons.betwixt.XMLBeanInfo
Sets the beans class that this XML info refers to
setBeanCreationChain(BeanCreationChain) - Method in class org.apache.commons.betwixt.io.read.ReadConfiguration
Sets the BeanCreationChain that should be used to construct beans.
setBindingConfiguration(BindingConfiguration) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Sets the dynamic configuration setting to be used for bean reading.
setBindingConfiguration(BindingConfiguration) - Method in class org.apache.commons.betwixt.io.BeanReader
Sets the dynamic configuration setting to be used for bean reading.
setCachingEnabled(boolean) - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated. 0.5 replaced by XMlBeanInfoRegistry
setCallDocumentEvents(boolean) - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
Sets whether the document events (ie start and end) should be called.
setClassLoader(ClassLoader) - Method in class org.apache.commons.betwixt.io.read.ReadContext
Sets the classloader to be used.
setClassNameAttribute(String) - Method in class org.apache.commons.betwixt.BindingConfiguration
Sets the name of the attribute which can be specified in the XML to override the type of a bean used at a certain point in the schema.
setClassNameAttribute(String) - Method in class org.apache.commons.betwixt.expression.Context
Sets the name of the attribute which can be specified in the XML to override the type of a bean used at a certain point in the schema.
setClassNameAttribute(String) - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Sets the name of the attribute which can be specified in the XML to override the type of a bean used at a certain point in the schema.
setClassNameAttribute(String) - Method in class org.apache.commons.betwixt.io.BeanRuleSet
Deprecated. 0.5 set the ReadContext property instead
setClassNormalizer(ClassNormalizer) - Method in class org.apache.commons.betwixt.XMLIntrospector
Sets the ClassNormalizer strategy.
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
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.XMLIntrospector
Sets the strategy used to convert bean type names into element names
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
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
setLocalName(String) - Method in class org.apache.commons.betwixt.NodeDescriptor
Sets the local name
setLog(Log) - Static method in class org.apache.commons.betwixt.digester.ElementRule
Sets the log for this class
setLog(Log) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Sets the current logging implementation.
setLog(Log) - Method in class org.apache.commons.betwixt.XMLIntrospector
Sets the current logging implementation.
setLog(Log) - Method in class org.apache.commons.betwixt.expression.Context
Set the log implementation to which this class logs
setLog(Log) - Static method in class org.apache.commons.betwixt.expression.MapEntryAdder
Sets the logger used by this class.
setLog(Log) - Static method in class org.apache.commons.betwixt.expression.MethodUpdater
Programmatically set log
setLog(Log) - Static method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Set log to be used by BeanCreateRule instances
setLog(Log) - Method in class org.apache.commons.betwixt.io.BeanReader
Set the current logging level.
setLog(Log) - Static method in class org.apache.commons.betwixt.io.BeanRuleSet
Set log to be used by BeanRuleSet instances
setLog(Log) - Method in class org.apache.commons.betwixt.io.BeanWriter
Set the log implementation used.
setLog(Log) - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
Set the log implementation used.
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)
setMethod(Method) - Method in class org.apache.commons.betwixt.expression.MethodExpression
Sets the method used to evaluate this expression
setMethod(Method) - Method in class org.apache.commons.betwixt.expression.MethodUpdater
Sets the constant value of this expression
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.
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.XMLIntrospector
Sets the strategy used to detect matching singular and plural properties
setPositiveIds(boolean) - Method in class org.apache.commons.betwixt.io.id.RandomIDGenerator
Sets whether only positive ID's should be generated
setPrimitiveType(boolean) - Method in class org.apache.commons.betwixt.ElementDescriptor
Sets whether this element refers to a primitive type (or property of a parent object)
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.
setSeparator(String) - Method in class org.apache.commons.betwixt.strategy.HyphenatedNameMapper
Sets the separator used to seperate words, which defaults to '-'
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.
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.XMLIntrospector
Specifies if you want to use the beanInfoSearchPath
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.ElementDescriptor
Sets whether Collection bean properties should wrap items in a parent element.
setWrapCollectionsInElement(boolean) - Method in class org.apache.commons.betwixt.XMLIntrospector
Sets whether we should we wrap collections in an extra element.
setWriteEmptyElements(boolean) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Sets whether empty elements should be written into the output.
setWriteIDs(boolean) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 use BindingConfiguration.setMapIDs(boolean)
setXMLIntrospector(XMLIntrospector) - Method in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Sets the introspector that is using me
setXMLIntrospector(XMLIntrospector) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Sets the introspector to be used.
setXMLIntrospector(XMLIntrospector) - Method in class org.apache.commons.betwixt.io.BeanReader
Set the introspector to be used.
start() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Marks the start of the bean writing.
start() - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
This will announce the start of the document to the contenthandler.
startElement(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.AbstractBeanWriter
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.SAXBeanWriter
Writes the start tag for an element.
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.ConvertUtilsObjectStringConverter
Converts an object to a string representation using ConvertUtils.
stringToObject(String, Class, String, Context) - Method in class org.apache.commons.betwixt.strategy.DefaultObjectStringConverter
Converts an object to a string representation using ConvertUtils.
stringToObject(String, Class, String, Context) - Method in class org.apache.commons.betwixt.strategy.ObjectStringConverter
Converts a string representation to an object.
swapDescriptor(ElementDescriptor, ElementDescriptor, ElementDescriptor) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Traverse the tree of element descriptors and find the oldValue and swap it with the newValue.

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.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.XMLBeanInfo
Gets log-friendly string representation.
toString() - Method in class org.apache.commons.betwixt.expression.ClassNameExpression
Returns something useful for logging.
toString() - Method in class org.apache.commons.betwixt.expression.ConstantExpression
Returns something useful for logging
toString() - Method in class org.apache.commons.betwixt.expression.EmptyExpression
Return something useful for logging.
toString() - Method in class org.apache.commons.betwixt.expression.IteratorExpression
Returns something useful for logging
toString() - Method in class org.apache.commons.betwixt.expression.MethodExpression
Returns something useful for logging.
toString() - Method in class org.apache.commons.betwixt.expression.MethodUpdater
Returns something useful for logging.
toString() - Method in class org.apache.commons.betwixt.expression.StringExpression
Returns something useful for logging.
toString() - Method in class org.apache.commons.betwixt.expression.VariableExpression
Returns something useful for logging
toString() - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Deprecated. Return something meaningful for logging.

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.ClassNameExpression
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.DynaBeanExpression
Do nothing.
update(Context, String) - Method in class org.apache.commons.betwixt.expression.EmptyExpression
Do nothing
update(Context, String) - Method in interface org.apache.commons.betwixt.expression.Expression
Deprecated. 0.5 use Updater instead
update(Context, String) - Method in class org.apache.commons.betwixt.expression.IteratorExpression
Do nothing
update(Context, String) - Method in class org.apache.commons.betwixt.expression.MethodExpression
Do nothing.
update(Context, String) - Method in class org.apache.commons.betwixt.expression.StringExpression
Do nothing
update(Context, String) - Method in class org.apache.commons.betwixt.expression.VariableExpression
Do nothing
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.XMLIntrospector
Should the original java.reflect.Introspector bean info search path be used? By default it will be false.

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

write(Object) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Writes the given bean to the current stream using the XML introspector.
write(Object) - Method in class org.apache.commons.betwixt.io.BeanWriter
Write the given object to the stream (and then flush).
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.AbstractBeanWriter
Deprecated. 0.5 replaced by new BeanWriter API
writeIndent() - Method in class org.apache.commons.betwixt.io.BeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
writePrintln() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
writePrintln() - Method in class org.apache.commons.betwixt.io.BeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
writeRestOfElement(String, ElementDescriptor, Context) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Deprecated. 0.5 replaced by new SAX inspired API
writeXmlDeclaration(String) - Method in class org.apache.commons.betwixt.io.BeanWriter
A helper method that allows you to write the XML Declaration.

X

XMLBeanInfo - class 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
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.