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