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

A

AbstractBeanWriter - Class in org.apache.commons.betwixt.io
Abstract superclass for bean writers.
AbstractBeanWriter() - Constructor for class org.apache.commons.betwixt.io.AbstractBeanWriter
 
AbstractIDGenerator - Class in org.apache.commons.betwixt.io.id
Abstract superclass for IDGenerator implementations.
AbstractIDGenerator() - Constructor for class org.apache.commons.betwixt.io.id.AbstractIDGenerator
 
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
addChildRules() - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Adds the rules to the digester for all child elements
addChildRules(String, ElementDescriptor) - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Add child rules for given descriptor at given prefix
AddDefaultsRule - Class in org.apache.commons.betwixt.digester
AddDefaultsRule appends all the default properties to the current element.
AddDefaultsRule() - Constructor for class org.apache.commons.betwixt.digester.AddDefaultsRule
Base constructor
addDescriptor(NodeDescriptor) - Method in class org.apache.commons.betwixt.digester.AddDefaultsRule
Add a desciptor to the top object on the Digester stack.
addedChildren - Variable in class org.apache.commons.betwixt.io.BeanCreateRule
Have we added our child rules to the digester?
addElementDescriptor(ElementDescriptor) - Method in class org.apache.commons.betwixt.ElementDescriptor
Adds a descriptor for a child element.
addPrimitiveTypeRule(String, ElementDescriptor) - Method in class org.apache.commons.betwixt.io.BeanCreateRule
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
Loop through properties and process each one
addProperty(BeanInfo, PropertyDescriptor, List, List) - Method in class org.apache.commons.betwixt.XMLIntrospector
Process a property.
addRule(String, Rule) - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Safely add a rule with given path.
AMPERSAND_ENTITY - Static variable in class org.apache.commons.betwixt.io.BeanWriter
Escaped & entity
APOSTROPHE_ENTITY - Static variable in class org.apache.commons.betwixt.io.BeanWriter
Escaped ' entity
AttributeDescriptor - Class in org.apache.commons.betwixt
AttributeDescriptor describes the XML attributes to be created for a bean instance.
AttributeDescriptor() - Constructor for class org.apache.commons.betwixt.AttributeDescriptor
Base constructor
AttributeDescriptor(String) - Constructor for class org.apache.commons.betwixt.AttributeDescriptor
Creates a AttributeDescriptor with no namespace URI or prefix
AttributeDescriptor(String, String, String) - Constructor for class org.apache.commons.betwixt.AttributeDescriptor
Creates a AttributeDescriptor with namespace URI and qualified name
attributeDescriptors - Variable in class org.apache.commons.betwixt.ElementDescriptor
Descriptors for attributes this element contains.
attributeList - Variable in class org.apache.commons.betwixt.ElementDescriptor
The List used on construction.
attributeNameMapper - Variable in class org.apache.commons.betwixt.XMLIntrospector
The strategy used to convert bean type names into attribute names It will default to the normal nameMapper.
AttributeRule - Class in org.apache.commons.betwixt.digester
AttributeRule the digester Rule for parsing the <attribute> elements.
AttributeRule() - Constructor for class org.apache.commons.betwixt.digester.AttributeRule
Base constructor
attributes - Variable in class org.apache.commons.betwixt.io.SAXBeanWriter
Current element's attributes.
attributesForPrimitives - Variable in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
should attributes or elements be used for primitive types
attributesForPrimitives - Variable in class org.apache.commons.betwixt.XMLIntrospector
should attributes or elements be used for primitive types
autoFlush - Variable in class org.apache.commons.betwixt.io.BeanWriter
should we flush after writing bean

B

bean - Variable in class org.apache.commons.betwixt.expression.Context
Evaluate this bean
beanClass - Variable in class org.apache.commons.betwixt.digester.AttributeRule
The Class whose .betwixt file is being digested
beanClass - Variable in class org.apache.commons.betwixt.digester.ElementRule
Class for which the .bewixt file is being digested
beanClass - Variable in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
the beans class for this XML descriptor
beanClass - Variable in class org.apache.commons.betwixt.io.BeanCreateRule
The type of the bean to create
beanClass - Variable in class org.apache.commons.betwixt.XMLBeanInfo
the beans class that this XML info refers to
BeanCreateRule - Class in org.apache.commons.betwixt.io
BeanCreateRule is a Digester Rule for creating beans from the betwixt XML metadata.
BeanCreateRule(ElementDescriptor, Class, String) - Constructor for class org.apache.commons.betwixt.io.BeanCreateRule
Convenience constructor which uses ID's for matching.
BeanCreateRule(ElementDescriptor, Class, String, boolean) - Constructor for class org.apache.commons.betwixt.io.BeanCreateRule
Constructor taking a class.
BeanCreateRule(ElementDescriptor, Class) - Constructor for class org.apache.commons.betwixt.io.BeanCreateRule
Convenience constructor which uses ID's for matching.
BeanCreateRule(ElementDescriptor, Class, boolean) - Constructor for class org.apache.commons.betwixt.io.BeanCreateRule
Constructor uses standard qualified name.
BeanCreateRule(ElementDescriptor, Context, String) - Constructor for class org.apache.commons.betwixt.io.BeanCreateRule
Convenience constructor which uses ID's for match.
BeanCreateRule(ElementDescriptor, Context, String, boolean) - Constructor for class org.apache.commons.betwixt.io.BeanCreateRule
Constructor taking a context.
BeanCreateRule(ElementDescriptor, Class, Context, String, boolean) - Constructor for class org.apache.commons.betwixt.io.BeanCreateRule
Base constructor (used by other constructors).
BeanReader - Class in org.apache.commons.betwixt.io
BeanReader reads a tree of beans from an XML document.
BeanReader() - Constructor for class org.apache.commons.betwixt.io.BeanReader
Construct a new BeanReader with default properties.
BeanReader(SAXParser) - Constructor for class org.apache.commons.betwixt.io.BeanReader
Construct a new BeanReader, allowing a SAXParser to be passed in.
BeanReader(XMLReader) - Constructor for class org.apache.commons.betwixt.io.BeanReader
Construct a new BeanReader, allowing an XMLReader to be passed in.
beanStack - Variable in class org.apache.commons.betwixt.io.AbstractBeanWriter
Stack containing beans - used to detect cycles
BeanWriter - Class in org.apache.commons.betwixt.io
BeanWriter outputs beans as XML to an io stream.
BeanWriter() - Constructor for class org.apache.commons.betwixt.io.BeanWriter
Constructor uses System.out for output.
BeanWriter(OutputStream) - Constructor for class org.apache.commons.betwixt.io.BeanWriter
Constuctor uses given OutputStream for output.
BeanWriter(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.io.BeanCreateRule
Process the beginning of this element.

C

cachedIDAttribute - Variable in class org.apache.commons.betwixt.XMLBeanInfo
Have we already cached the idAttributeDescriptor?
CapitalizeNameMapper - Class in org.apache.commons.betwixt.strategy
A beanmapper which converts a type to start with an uppercase.
CapitalizeNameMapper() - Constructor for class org.apache.commons.betwixt.strategy.CapitalizeNameMapper
 
classLoader - Variable in class org.apache.commons.betwixt.digester.AttributeRule
This loads all classes created by name.
classLoader - Variable in class org.apache.commons.betwixt.digester.ElementRule
Classloader used to load classes by name
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
Set the Expression and Updater from a bean property name
configureProperty(ElementDescriptor, PropertyDescriptor) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Configure an ElementDescriptor from a PropertyDescriptor
configureProperty(AttributeDescriptor, PropertyDescriptor) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Configure an AttributeDescriptor from a PropertyDescriptor
ConstantExpression - Class in org.apache.commons.betwixt.expression
ConstantExpression represents a constant expression.
ConstantExpression() - Constructor for class org.apache.commons.betwixt.expression.ConstantExpression
Base constructor
ConstantExpression(Object) - Constructor for class org.apache.commons.betwixt.expression.ConstantExpression
Convenience constructor sets value property.
contentHandler - Variable in class org.apache.commons.betwixt.io.SAXBeanWriter
Where the output goes
Context - Class in org.apache.commons.betwixt.expression
Context describes the context used to evaluate bean expressions.
Context() - Constructor for class org.apache.commons.betwixt.expression.Context
Construct context with default log
Context(Object, Log) - Constructor for class org.apache.commons.betwixt.expression.Context
Convenience constructor sets evaluted bean and log.
Context(Object, Map, Log) - Constructor for class org.apache.commons.betwixt.expression.Context
Convenience constructor sets evaluted bean, context variables and log.
context - Variable in class org.apache.commons.betwixt.io.BeanCreateRule
The Context used when evaluating Updaters
contextExpression - Variable in class org.apache.commons.betwixt.ElementDescriptor
the expression used to evaluate the new context of this node or null if the same context is to be used
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
counter - Variable in class org.apache.commons.betwixt.io.id.SequentialIDGenerator
Counter used to assign ID's
createBean(Attributes) - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Factory method to create new bean instances
createdBean - Variable in class org.apache.commons.betwixt.io.BeanCreateRule
In this begin-end loop did we actually create a new bean
createDescriptor(PropertyDescriptor, boolean, XMLIntrospector) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Process a property.
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.
createXMLBeanInfo(BeanInfo) - Method in class org.apache.commons.betwixt.XMLIntrospector
Factory method to create XMLBeanInfo instances
CyclicReferenceException - Exception in org.apache.commons.betwixt.io
Thrown when bean evaluation finds a cycle reference.
CyclicReferenceException() - Constructor for exception org.apache.commons.betwixt.io.CyclicReferenceException
Construct exception with default message.
CyclicReferenceException(String) - Constructor for exception org.apache.commons.betwixt.io.CyclicReferenceException
Construct exception with message

D

DecapitalizeNameMapper - Class in org.apache.commons.betwixt.strategy
A name mapper which converts types to a decapitalized String.
DecapitalizeNameMapper() - Constructor for class org.apache.commons.betwixt.strategy.DecapitalizeNameMapper
 
DEFAULT_MESSAGE - Static variable in exception org.apache.commons.betwixt.io.CyclicReferenceException
Message used with empty constructor
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 in org.apache.commons.betwixt.strategy
A default implementation of the name mapper.
DefaultNameMapper() - Constructor for class org.apache.commons.betwixt.strategy.DefaultNameMapper
 
DefaultPluralStemmer - Class in org.apache.commons.betwixt.strategy
A default implementation of the plural name stemmer which tests for some common english plural/singular patterns and then uses a simple starts-with algorithm
DefaultPluralStemmer() - Constructor for class org.apache.commons.betwixt.strategy.DefaultPluralStemmer
 
DefaultXMLBeanInfoRegistry - Class in org.apache.commons.betwixt.registry
The default caching implementation.
DefaultXMLBeanInfoRegistry() - Constructor for class org.apache.commons.betwixt.registry.DefaultXMLBeanInfoRegistry
 
descriptor - Variable in class org.apache.commons.betwixt.io.BeanCreateRule
The descriptor of this element
digester - Variable in class org.apache.commons.betwixt.XMLIntrospector
Digester used to parse the XML descriptor files

E

ElementDescriptor - Class in org.apache.commons.betwixt
ElementDescriptor describes the XML elements to be created for a bean instance.
ElementDescriptor() - Constructor for class org.apache.commons.betwixt.ElementDescriptor
Constructs an ElementDescriptor that refers to a primitive type.
ElementDescriptor(boolean) - Constructor for class org.apache.commons.betwixt.ElementDescriptor
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
elementDescriptor - Variable in class org.apache.commons.betwixt.XMLBeanInfo
Descriptor for main element
elementDescriptors - Variable in class org.apache.commons.betwixt.ElementDescriptor
Descriptors for child elements.
elementList - Variable in class org.apache.commons.betwixt.ElementDescriptor
The List used on construction.
elementNameMapper - Variable in class org.apache.commons.betwixt.XMLIntrospector
The strategy used to convert bean type names into element names
ElementRule - Class in org.apache.commons.betwixt.digester
ElementRule the digester Rule for parsing the <element> elements.
ElementRule() - Constructor for class org.apache.commons.betwixt.digester.ElementRule
Base constructor
elementStack - Variable in class org.apache.commons.betwixt.io.SAXBeanWriter
Place holder for elements that are started.
elementWaiting - Variable in class org.apache.commons.betwixt.io.SAXBeanWriter
Is there a element currently waiting to be written out?
EmptyExpression - Class in org.apache.commons.betwixt.expression
EmptyExpression returns the same value as is passed in.
EmptyExpression() - Constructor for class org.apache.commons.betwixt.expression.EmptyExpression
Should this be private?
enablePrettyPrint() - Method in class org.apache.commons.betwixt.io.BeanWriter
Switch on formatted output.
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
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.
endOfLine - Variable in class org.apache.commons.betwixt.io.BeanWriter
text used for end of lines.
EOL - Static variable in class org.apache.commons.betwixt.io.BeanWriter
text used for end of lines.
escapeAttributeValue(Object) - Method in class org.apache.commons.betwixt.io.BeanWriter
Escape the toString of the given object.
escapeBodyValue(Object) - Method in class org.apache.commons.betwixt.io.BeanWriter
Escape the toString of the given object.
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.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
Express an attribute
expressAttribute(String, String) - Method in class org.apache.commons.betwixt.io.BeanWriter
Writes an attribute to the stream.
expressAttribute(String, String) - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
Express an attribute
expressBodyText(String) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Express body text
expressBodyText(String) - Method in class org.apache.commons.betwixt.io.BeanWriter
Write element body text
expressBodyText(String) - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
Express body text
expressElementEnd(String) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Express an element end tag (with given name)
expressElementEnd() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Express an empty element end.
expressElementEnd(String) - Method in class org.apache.commons.betwixt.io.BeanWriter
Write an element end tag to the stream
expressElementEnd() - Method in class org.apache.commons.betwixt.io.BeanWriter
Write an empty element end to the stream
expressElementEnd(String) - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
Express an element end tag
expressElementEnd() - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
Express an empty element end
expressElementStart(String) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Express an element tag start using given qualified name.
expressElementStart(String) - Method in class org.apache.commons.betwixt.io.BeanWriter
Express an element tag start using given qualified name
expressElementStart(String) - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
Express an element tag start using given qualified name
Expression - Interface in org.apache.commons.betwixt.expression
Expression represents an arbitrary expression on a bean.
expression - Variable in class org.apache.commons.betwixt.expression.IteratorExpression
Use this Expression to perform initial evaluation
expressTagClose() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Express a closing tag.
expressTagClose() - Method in class org.apache.commons.betwixt.io.BeanWriter
Write a tag close to the stream
expressTagClose() - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
Element end

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.
findIDAttribute() - Method in class org.apache.commons.betwixt.XMLBeanInfo
ID attribute search implementation
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
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.
use flushable registry instead

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.
getBean() - Method in class org.apache.commons.betwixt.expression.Context
Gets the current bean.
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
getBeanReader() - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Get the associated bean reader.
getBeansById() - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Get the map used to index beans (previously read in) by id.
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
getElementDescriptor(ElementDescriptor) - Method in class org.apache.commons.betwixt.io.BeanCreateRule
Allows the navigation from a reference to a property object to the descriptor defining what the property is.
getElementDescriptor() - Method in class org.apache.commons.betwixt.XMLBeanInfo
Gets descriptor for bean represention
getElementDescriptors() - Method in class org.apache.commons.betwixt.ElementDescriptor
Returns descriptors for the child elements of the element this describes.
getElementList() - Method in class org.apache.commons.betwixt.ElementDescriptor
Lazily creates the mutable List of child elements.
getElementNameMapper() - Method in class org.apache.commons.betwixt.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.
getIndent() - Method in class org.apache.commons.betwixt.io.BeanWriter
Gets the indent string
getIndentLevel() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Get the indentation for the current element.
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
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.expression.Context
Gets the current log.
getLog() - Method in class org.apache.commons.betwixt.io.BeanReader
Get the current level for logging.
getLog() - Method in class org.apache.commons.betwixt.io.BeanWriter
Set the log implementation used.
getLog() - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
Set the log implementation used.
getLog() - Method in class org.apache.commons.betwixt.XMLIntrospector
Gets the current logging implementation.
getMatchIDs() - Method in class org.apache.commons.betwixt.io.BeanReader
Should the reader use ID attributes to match beans.
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
getNameMapper() - Method in class org.apache.commons.betwixt.XMLIntrospector
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
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.ElementRule
Returns the property descriptor for the class and property name.
getPropertyName() - Method in class org.apache.commons.betwixt.NodeDescriptor
Gets the name of the bean property to which this node refers
getPropertyType(String, Class, String) - Method in class org.apache.commons.betwixt.digester.ElementRule
Gets the type of a property
getPropertyType() - Method in class org.apache.commons.betwixt.NodeDescriptor
Gets the type of the bean property associated with this node, if any
getQualifiedName() - Method in class org.apache.commons.betwixt.NodeDescriptor
Gets the qualified name, including any namespace prefix
getRegistry() - Method in class org.apache.commons.betwixt.XMLIntrospector
Gets the current registry implementation.
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.NodeDescriptor
Gets the underlying type ignoring any wrapping a Collection or Array.
getTextExpression() - Method in class org.apache.commons.betwixt.NodeDescriptor
Gets the expression used to evaluate the text value of this node for a particular Context.
getUpdater() - Method in class org.apache.commons.betwixt.NodeDescriptor
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
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.
getWriteIDs() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Should generated ID attribute values be added to the elements?
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.io.BeanWriter
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.
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
HideRule - Class in org.apache.commons.betwixt.digester
HideRule hides the property of the given name.
HideRule() - Constructor for class org.apache.commons.betwixt.digester.HideRule
Base constructor
HyphenatedNameMapper - Class in org.apache.commons.betwixt.strategy
A name mapper which converts types to a hypenated String.
HyphenatedNameMapper() - Constructor for class org.apache.commons.betwixt.strategy.HyphenatedNameMapper
Construct a hyphenated name mapper that converts the name to lower case and uses the default separator.
HyphenatedNameMapper(boolean) - Constructor for class org.apache.commons.betwixt.strategy.HyphenatedNameMapper
Construct a hyphenated name mapper with default separator.
HyphenatedNameMapper(boolean, String) - Constructor for class org.apache.commons.betwixt.strategy.HyphenatedNameMapper
Construct a hyphenated name mapper.

I

idAttributeDescriptor - Variable in class org.apache.commons.betwixt.XMLBeanInfo
Cached ID attribute descriptor
idAttributeName - Variable in class org.apache.commons.betwixt.XMLBeanInfo
ID attribute name
idGenerator - Variable in class org.apache.commons.betwixt.io.AbstractBeanWriter
Used to generate ID attribute values
IDGenerator - Interface in org.apache.commons.betwixt.io
Interface allowing pluggable ID attribute value generators.
idMap - Variable in class org.apache.commons.betwixt.io.AbstractBeanWriter
Map containing ID attribute values for beans
idrefAttributeName - Variable in class org.apache.commons.betwixt.XMLBeanInfo
IDREF attribute name
indent - Variable in class org.apache.commons.betwixt.io.BeanWriter
indentation text
indentLevel - Variable in class org.apache.commons.betwixt.io.AbstractBeanWriter
indentation level
InfoRule - Class in org.apache.commons.betwixt.digester
InfoRule the digester Rule for parsing the info element.
InfoRule() - Constructor for class org.apache.commons.betwixt.digester.InfoRule
Base constructor
introspect(Object) - Method in class org.apache.commons.betwixt.XMLIntrospector
Create a standard XMLBeanInfo by introspection The actual introspection depends only on the BeanInfo associated with the bean.
introspect(Class) - Method in class org.apache.commons.betwixt.XMLIntrospector
Create a standard XMLBeanInfo by introspection.
introspect(BeanInfo) - Method in class org.apache.commons.betwixt.XMLIntrospector
Create a standard XMLBeanInfo by introspection.
introspector - Variable in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
the introspector that is using me
introspector - Variable in class org.apache.commons.betwixt.io.AbstractBeanWriter
Introspector used
introspector - Variable in class org.apache.commons.betwixt.io.BeanReader
Introspector used
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.
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?
isPrimitiveType(Class) - Static method in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Is this a primitive type?
isPrimitiveType() - Method in class org.apache.commons.betwixt.ElementDescriptor
Returns true if this element refers to a primitive type property
isPrimitiveType(Class) - Method in class org.apache.commons.betwixt.XMLIntrospector
Is this class a primitive?
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.
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 in org.apache.commons.betwixt.expression
IteratorExpression returns an iterator over the current context.
IteratorExpression(Expression) - Constructor for class org.apache.commons.betwixt.expression.IteratorExpression
Construct IteratorExpression using given expression for initial evaluation.

L

lastId - Variable in class org.apache.commons.betwixt.io.id.AbstractIDGenerator
Last ID returned
LESS_THAN_ENTITY - Static variable in class org.apache.commons.betwixt.io.BeanWriter
Escaped < entity
loadClass(String) - Method in class org.apache.commons.betwixt.digester.AttributeRule
Loads a class (using the appropriate classloader)
localName - Variable in class org.apache.commons.betwixt.NodeDescriptor
The local name of this node without any namespace prefix
log - Static variable in class org.apache.commons.betwixt.digester.AddDefaultsRule
Logger
log - Static variable in class org.apache.commons.betwixt.digester.AttributeRule
Logger
log - Static variable in class org.apache.commons.betwixt.digester.ElementRule
Logger
log - Static variable in class org.apache.commons.betwixt.digester.HideRule
Logger
log - Static variable in class org.apache.commons.betwixt.digester.InfoRule
Logger
log - Static variable in class org.apache.commons.betwixt.digester.RuleSupport
Logger
log - Static variable in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Logger
log - Static variable in class org.apache.commons.betwixt.digester.XMLIntrospectorHelper
Log used for logging (Doh!)
log - Variable in class org.apache.commons.betwixt.expression.Context
Logging uses commons-logging Log named org.apache.commons.betwixt
log - Static variable in class org.apache.commons.betwixt.expression.MethodUpdater
Logger
log - Variable in class org.apache.commons.betwixt.io.AbstractBeanWriter
Log used for logging (Doh!)
log - Static variable in class org.apache.commons.betwixt.io.BeanCreateRule
Logger
log - Variable in class org.apache.commons.betwixt.io.BeanReader
Log used for logging (Doh!)
log - Variable in class org.apache.commons.betwixt.io.BeanWriter
Log used for logging (Doh!)
log - Variable in class org.apache.commons.betwixt.io.SAXBeanWriter
Log used for logging (Doh!)
log - Static variable in class org.apache.commons.betwixt.strategy.DefaultPluralStemmer
Log used for logging (Doh!)
log - Variable in class org.apache.commons.betwixt.XMLIntrospector
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
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 in without modification.
mapTypeToElementName(String) - Method in class org.apache.commons.betwixt.strategy.HyphenatedNameMapper
The words within the bean name are deduced assuming the camel's hump naming convention.
mapTypeToElementName(String) - Method in interface org.apache.commons.betwixt.strategy.NameMapper
Convert the given bean or property name to name for use in xml (as an element or an attribute nqame).
matchIDs - Variable in class org.apache.commons.betwixt.io.BeanCreateRule
Use id's to match beans?
matchIDs - Variable in class org.apache.commons.betwixt.io.BeanReader
Should the reader use ID's to match
method - Variable in class org.apache.commons.betwixt.expression.MethodExpression
The method to call on the bean
method - Variable in class org.apache.commons.betwixt.expression.MethodUpdater
The method to call on the bean
MethodExpression - Class in org.apache.commons.betwixt.expression
MethodExpression evaluates a method on the current bean context.
MethodExpression() - Constructor for class org.apache.commons.betwixt.expression.MethodExpression
Base constructor
MethodExpression(Method) - Constructor for class org.apache.commons.betwixt.expression.MethodExpression
Convenience constructor sets method property
MethodUpdater - Class in org.apache.commons.betwixt.expression
MethodUpdater updates the current bean context by calling a WriteMethod with the String value from the XML attribute or element.
MethodUpdater() - Constructor for class org.apache.commons.betwixt.expression.MethodUpdater
Base constructor
MethodUpdater(Method) - Constructor for class org.apache.commons.betwixt.expression.MethodUpdater
Convenience constructor sets method property

N

NameMapper - Interface in org.apache.commons.betwixt.strategy
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 in org.apache.commons.betwixt.registry
This plug-in registry does not cache at all.
NoCacheRegistry() - Constructor for class org.apache.commons.betwixt.registry.NoCacheRegistry
 
NodeDescriptor - Class in org.apache.commons.betwixt
Common superclass for ElementDescriptor and AttributeDescriptor.
NodeDescriptor() - Constructor for class org.apache.commons.betwixt.NodeDescriptor
Base constructor
NodeDescriptor(String) - Constructor for class org.apache.commons.betwixt.NodeDescriptor
Creates a NodeDescriptor with no namespace URI or prefix.
NodeDescriptor(String, String, String) - Constructor for class org.apache.commons.betwixt.NodeDescriptor
Creates a NodeDescriptor with namespace URI and qualified name
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

onlyPositiveIds - Variable in class org.apache.commons.betwixt.io.id.RandomIDGenerator
Should only positive id's be generated?
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.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.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

pathPrefix - Variable in class org.apache.commons.betwixt.io.BeanCreateRule
The prefix added to digester rules
PluralStemmer - Interface in org.apache.commons.betwixt.strategy
A plugin Strategy pattern which will detect the plural property which maps to a singular property name.
pluralStemmer - Variable in class org.apache.commons.betwixt.XMLIntrospector
The strategy used to detect matching singular and plural properties
popBean() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Pops the top bean off from the ancestry stack
primitiveType - Variable in class org.apache.commons.betwixt.ElementDescriptor
Whether this element refers to a primitive type (or property of a parent object)
processedPropertyNameSet - Variable in class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
the set of property names processed so far
propertyName - Variable in class org.apache.commons.betwixt.NodeDescriptor
The property expression to which this node refers to, or null if it is just a constant
propertyType - Variable in class org.apache.commons.betwixt.NodeDescriptor
the property type associated with this node, if any
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.

Q

qualifiedName - Variable in class org.apache.commons.betwixt.NodeDescriptor
The qualified name of the xml node associated with this descriptor.
QUOTE_ENTITY - Static variable in class org.apache.commons.betwixt.io.BeanWriter
Escaped " entity

R

random - Variable in class org.apache.commons.betwixt.io.id.RandomIDGenerator
Use simple java.util.Random as the source for our numbers
RandomIDGenerator - Class in org.apache.commons.betwixt.io.id
Generates ID's at random.
RandomIDGenerator() - Constructor for class org.apache.commons.betwixt.io.id.RandomIDGenerator
Constructor sets the PositiveIds property to true.
RandomIDGenerator(boolean) - Constructor for class org.apache.commons.betwixt.io.id.RandomIDGenerator
Constructor sets PositiveIds property.
registerBeanClass(Class) - Method in class org.apache.commons.betwixt.io.BeanReader
Registers a bean class which is used by the reader to deduce the digester rules.
registerBeanClass(String, Class) - Method in class org.apache.commons.betwixt.io.BeanReader
Registers a bean class at the given path expression which is used by the reader to deduce the digester rules.
registeredClasses - Variable in class org.apache.commons.betwixt.io.BeanReader
The registered classes
registry - Variable in class org.apache.commons.betwixt.XMLIntrospector
Maps classes to XMLBeanInfo's
RuleSupport - Class in org.apache.commons.betwixt.digester
RuleSupport is an abstract base class containing useful helper methods.
RuleSupport() - Constructor for class org.apache.commons.betwixt.digester.RuleSupport
Base constructor

S

SAXBeanWriter - Class in org.apache.commons.betwixt.io
The SAXBeanwriter will send events to a ContentHandler
SAXBeanWriter(ContentHandler) - Constructor for class org.apache.commons.betwixt.io.SAXBeanWriter
Constructor sets writer used for output.
sendElementStart() - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
Send the start element event to the ContentHandler
separator - Variable in class org.apache.commons.betwixt.strategy.HyphenatedNameMapper
the separator used to seperate words, which defaults to '-'
SequentialIDGenerator - Class in org.apache.commons.betwixt.io.id
Generates ID's in numeric sequence.
SequentialIDGenerator() - Constructor for class org.apache.commons.betwixt.io.id.SequentialIDGenerator
Base constructor.
SequentialIDGenerator(int) - Constructor for class org.apache.commons.betwixt.io.id.SequentialIDGenerator
Constructor sets the start value for the counter.
setAbstractBeanWriterLog(Log) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Set the current logging implementation.
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
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
setCachingEnabled(boolean) - Method in class org.apache.commons.betwixt.XMLIntrospector
Deprecated.
replaced by XMlBeanInfoRegistry
setContextExpression(Expression) - Method in class org.apache.commons.betwixt.ElementDescriptor
Sets the expression used to evaluate the new context of this element
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.
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.XMLIntrospectorHelper
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.MethodUpdater
Programmatically set log
setLog(Log) - Static method in class org.apache.commons.betwixt.io.BeanCreateRule
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) - Method in class org.apache.commons.betwixt.io.BeanWriter
Set the log implementation used.
setLog(Log) - Method in class org.apache.commons.betwixt.io.SAXBeanWriter
Set the log implementation used.
setLog(Log) - Method in class org.apache.commons.betwixt.XMLIntrospector
Sets the current logging implementation.
setMatchIDs(boolean) - Method in class org.apache.commons.betwixt.io.BeanReader
Set whether the read should use ID attributes to match beans.
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
setNameMapper(NameMapper) - Method in class org.apache.commons.betwixt.XMLIntrospector
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.NodeDescriptor
Sets the name of the bean property to which this node refers
setPropertyType(Class) - Method in class org.apache.commons.betwixt.NodeDescriptor
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
setRegistry(XMLBeanInfoRegistry) - Method in class org.apache.commons.betwixt.XMLIntrospector
Sets the XMLBeanInfoRegistry implementation.
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.NodeDescriptor
Sets the underlying type ignoring any wrapping Collection or Array.
setTextExpression(Expression) - Method in class org.apache.commons.betwixt.NodeDescriptor
Sets the expression used to evaluate the text value of this node for a particular Context
setUpdater(Updater) - Method in class org.apache.commons.betwixt.NodeDescriptor
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.
setWriteIDs(boolean) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Set whether generated ID attribute values should be added to the elements If this property is set to false, then CyclicReferenceException will be thrown whenever a cyclic occurs in the bean graph.
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.
singleton - Static variable in class org.apache.commons.betwixt.expression.EmptyExpression
Don't need more than one EmptyExpression
singleton - Static variable in class org.apache.commons.betwixt.expression.StringExpression
We only need only StringExpression
singularPropertyType - Variable in class org.apache.commons.betwixt.NodeDescriptor
the singular property type (i.e.
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.
StringExpression - Class in org.apache.commons.betwixt.expression
StringExpression returns the current context object as a string.
StringExpression() - Constructor for class org.apache.commons.betwixt.expression.StringExpression
Base constructor.
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

textExpression - Variable in class org.apache.commons.betwixt.NodeDescriptor
the expression used to evaluate the text value of this node
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.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
Return something meaningful for logging.
toString() - Method in class org.apache.commons.betwixt.XMLBeanInfo
Gets log-friendly string representation.

U

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.EmptyExpression
Do nothing
update(Context, String) - Method in interface org.apache.commons.betwixt.expression.Expression
Updates the current bean context with a new String value.
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, Object) - Method in class org.apache.commons.betwixt.expression.MethodUpdater
Updates the current bean context with the given String value
update(Context, String) - Method in class org.apache.commons.betwixt.expression.StringExpression
Do nothing
update(Context, Object) - Method in interface org.apache.commons.betwixt.expression.Updater
Updates the current bean context with a new String value.
update(Context, String) - Method in class org.apache.commons.betwixt.expression.VariableExpression
Do nothing
Updater - Interface in org.apache.commons.betwixt.expression
Updater acts like an lvalue which updates the current context bean from some text from an XML attribute or element.
updater - Variable in class org.apache.commons.betwixt.NodeDescriptor
the updater used to update the current bean from the text value of this node
upperCase - Variable in class org.apache.commons.betwixt.strategy.HyphenatedNameMapper
whether upper or lower case conversions should be performed
uri - Variable in class org.apache.commons.betwixt.NodeDescriptor
The namespace URI of this node
useBeanInfoSearchPath - Variable in class org.apache.commons.betwixt.XMLIntrospector
Should the existing bean info search path for java.reflect.Introspector be used?
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

value - Variable in class org.apache.commons.betwixt.expression.ConstantExpression
The value of this expression
valueType - Variable in class org.apache.commons.betwixt.expression.MethodUpdater
The type of the first parameter of the method
VariableExpression - Class in org.apache.commons.betwixt.expression
VariableExpression represents a variable expression such as $foo which returns the value of the given variable.
VariableExpression() - Constructor for class org.apache.commons.betwixt.expression.VariableExpression
Base constructor
VariableExpression(String) - Constructor for class org.apache.commons.betwixt.expression.VariableExpression
Convenience constructor sets VariableName property
variableName - Variable in class org.apache.commons.betwixt.expression.VariableExpression
The variable name
variables - Variable in class org.apache.commons.betwixt.expression.Context
Variables map

W

wrapCollectionsInElement - Variable in class org.apache.commons.betwixt.ElementDescriptor
Whether this collection element can be used as a collection element.
wrapCollectionsInElement - Variable in class org.apache.commons.betwixt.XMLIntrospector
should we wrap collections in an extra element?
write(Object) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Writes the given bean to the current stream using the XML introspector.
write(String, Object) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Writes the given bean to the current stream using the given qualifiedName.
write(String, ElementDescriptor, Context) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Writes the given element
write(String, ElementDescriptor, Context, String, String) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Writes the given element adding an ID attribute
write(Object) - Method in class org.apache.commons.betwixt.io.BeanWriter
Write the given object to the stream (and then flush).
writeAttribute(AttributeDescriptor, Context) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Writes an attribute declaration
writeAttributes(ElementDescriptor, Context) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Writes the attribute declarations
writeContent(ElementDescriptor, Context) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Writes the element content.
writeIDREFElement(String, String, String) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Writes an element with a IDREF attribute
writeIDs - Variable in class org.apache.commons.betwixt.io.AbstractBeanWriter
Should generated ID attribute values be added to the elements?
writeIndent() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Writes an indentation.
writeIndent() - Method in class org.apache.commons.betwixt.io.BeanWriter
Writes out indent's to the current indentLevel
writePrintln() - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Writes a empty line.
writePrintln() - Method in class org.apache.commons.betwixt.io.BeanWriter
Writes out an empty line.
writer - Variable in class org.apache.commons.betwixt.io.BeanWriter
Where the output goes
writeRestOfElement(String, ElementDescriptor, Context) - Method in class org.apache.commons.betwixt.io.AbstractBeanWriter
Write attributes, child elements and element end
writeXmlDeclaration(String) - Method in class org.apache.commons.betwixt.io.BeanWriter
A helper method that allows you to write the XML Declaration.

X

xmlBeanInfo - Variable in class org.apache.commons.betwixt.digester.InfoRule
XMLBeanInfo being created
XMLBeanInfo - Class in org.apache.commons.betwixt
XMLBeanInfo represents the XML metadata information used to map a Java Bean cleanly to XML.
XMLBeanInfo(Class) - Constructor for class org.apache.commons.betwixt.XMLBeanInfo
Base constructor
XMLBeanInfoDigester - Class in org.apache.commons.betwixt.digester
XMLBeanInfoDigester is a digester of XML files containing XMLBeanInfo definitions for a JavaBean.
XMLBeanInfoDigester() - Constructor for class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Construct a new XMLBeanInfoDigester with default properties.
XMLBeanInfoDigester(SAXParser) - Constructor for class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Construct a new XMLBeanInfoDigester, allowing a SAXParser to be passed in.
XMLBeanInfoDigester(XMLReader) - Constructor for class org.apache.commons.betwixt.digester.XMLBeanInfoDigester
Construct a new XMLBeanInfoDigester, allowing an XMLReader to be passed in.
XMLBeanInfoRegistry - Interface in org.apache.commons.betwixt.registry
Plug in registry for XMLBeanInfo's.
xmlBeanInfos - Variable in class org.apache.commons.betwixt.registry.DefaultXMLBeanInfoRegistry
Used to associated XMLBeanInfo's to classes
XMLIntrospector - Class in org.apache.commons.betwixt
XMLIntrospector an introspector of beans to create a XMLBeanInfo instance.
XMLIntrospector() - Constructor for class org.apache.commons.betwixt.XMLIntrospector
Base constructor
XMLIntrospectorHelper - Class in org.apache.commons.betwixt.digester
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
A B C D E F G H I L M N O P Q R S T U V W X