|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
IDGenerator
implementations.ElementDescriptor
describes
BeanCreator
to the end of the chain.
AddDefaultsRule
appends all the default properties
to the current element.AddDefaultsRule.addDescriptor( Descriptor )
Options
collection.
XMLIntrospector.addProperties(BeanProperty[], List, List,List)
XMLIntrospector.addProperties(BeanInfo, List, List, List)
instead.
XMLIntrospector.addProperty(PropertyDescriptor, List, List, List)
instead.
XMLIntrospector.addProperty(BeanProperty, List, List, List)
instead
XMLIntrospector.addProperty(BeanInfo, PropertyDescriptor, List, List, List)
instead.
Digester
.
&
entity
'
entity
AttributeDescriptor
describes the XML attributes
to be created for a bean instance.AttributeRule
the digester Rule for parsing the
<attribute> elements.NameMapper
implementation that processes a name by replacing or stripping
illegal characters before passing result down the chain.MixedContentEncodingStrategy
supports variations of most common use case.BeanRuleSet
instead.ID's
for matching.
ID's
for matching.
ID's
for match.
PropertyDescriptor
.
DynaProperty
BeanReader
reads a tree of beans from an XML document.Betwixt
digestion rules for a bean class.BeanWriter
outputs beans as XML to an io stream.System.out
for output.
OutputStream
for output.
OutputStream
for output
and allows encoding to be set.
ArrayList
) into the stack together with an
updater for that object.
AbstractBeanWriter.bodyText(WriteContext, String)
CDATA
section.
ChainedBeanCreator
's.ClassNameExpression
returns the current class name
of the context beanMultiMappingBeanInfoDigester
and XMLBeanInfoDigester
.complexType
.#configureDescriptor(ElementDescriptor, String, boolean)
which allow accessibility to be forced. The subclassing API
was not really considered carefully when this class was
created. If anyone subclasses this method please contact the
mailing list and suitable hooks will be placed into the code.
ConstantExpression
represents a constant expression.value
property.
Context
describes the context used to evaluate
bean expressions.Betwixt
implementation.
BeanCreationChain
used when reading beans.
ChainedBeanCreator
that constructs derived beans.
XMLIntrospector.createDescriptor(java.beans.PropertyDescriptor, boolean)
XMLIntrospector.createXMLDescriptor(org.apache.commons.betwixt.BeanProperty)
.
ChainedBeanCreator
that constructs beans based on element type.
ChainedBeanCreator
that finds existing beans based on their IDREF.
BindingConfiguration
that is suitable for mapping Schema
.
IntrospectionConfiguration
that is suitable
for introspecting Schema
.
BeanCreationChain
used when reading beans.
ActionMappingStrategy
used by betwixt
IdStoringStrategy.createDefault()
instead
TypeBindingStrategy
implementation.
ValueSuppressionStrategy.SUPPRESS_EMPTY
.
DataTypeMapper
implementation.HashMap
and
returns it on request.IdStoringStrategy
using a HashMap
for
storage.
IdStoringStrategy
using the Map
implementations provided for storage.
DynaBean
's.DynaBeanUpdater
for given DynaProperty
.
DynaBeanUpdater
for the given type and property name.
element
definition.ElementDescriptor
describes the XML elements
to be created for a bean instance.ElementDescriptor
that refers to a primitive type.
ElementDescriptor
with namespace URI and qualified name
ElementRule
the digester Rule for parsing the <element>
elements.EmptyExpression
returns the same value as is passed in.CDATA
section.
ElementDescriptor
be encoded as a CDATA
section?
org.apache.commons.betwixt.mixed-content-encoding
ArrayList
and the updater from
their stacks.
AbstractBeanWriter.endElement(WriteContext, String, String, String)
XMLUtils.escapeAttributeValue(java.lang.Object)
toString
of the given object.
XMLUtils.escapeBodyValue(java.lang.Object)
toString
of the given object.
CDATA
sequence.
CDATA
sequence.
Expression
represents an arbitrary expression on a bean.XMLBeanInfo
's.
XMLBeanInfo
from cache.
XMLBeanInfo
for the given class.
ActionMappingStrategy
used to define
default mapping actions.
AttributeSuppressionStrategy
.
BeanCreationChange
to be used to create beans
when an element is mapped.
XMLBeanInfo
classes.
ClassNormalizer
strategy.
ElementDescriptor
that describes the
mapping for the current element.
Updater
.
DataTypeMapper
to be used during the transcription.
ElementSuppressionStrategy
.
ID
attribute name
ID
attribute.
IDGenerator
implementation used to
generate ID
attribute values .
IDREF
attribute name
This is used (for example) to deal with cyclic references.
Updater
.
ID
returned.
ID
value generated.
ID
's and IDREF
attributes
be used to cross-reference matching objects?
ID
's and IDREF
attributes
be used to cross-reference matching objects?
MappingDerivationStrategy
used to determine whether the bind or introspection time
type should determine the mapping.
BindingConfiguration.getMapIDs()
XMLIntrospector.getElementNameMapper()
and XMLIntrospector.getAttributeNameMapper()
name
element
associated with the option
Options
.
ID
's should be generated
NamespacePrefixMapper
used to convert namespace URIs
into prefixes.
ElementDescriptor
for the top on digester's stack.
Context
.
TypeBindingStrategy
to be used
to determine the binding for Java types.
Updater
used to update a Context
from the text value
corresponding to this node in an xml document
value
element
associated with the option
ValueSuppressionStrategy
.
ValueSuppressionStrategy
.
Updater
.
BindingConfiguration.getMapIDs()
XMLBeanInfoDigester
using this rule.
XMLIntrospector
to be used for introspection
XMLIntrospector
to be used to create
the mappings for the xml.
complexType
from an XML schema.element
.>
entity
AttributeDescriptors
ElementDescriptors
HideRule
hides the property of the given name.ID
attribute value generators.java.reflect.Introspector
.
InfoRule
the digester Rule for parsing the info element.BeanCreator
at the given position in the chain.
XMLBeanInfo
.
XMLBeanInfo
by introspection
The actual introspection depends only on the BeanInfo
associated with the bean.
Class
using the dot betwixt
document in the given InputSource
.
XMLBeanInfo
by introspection.
XMLBeanInfo
by introspection.
IntrospectionConfiguration.isLoopType(Class)
TypeBindingStrategy
IteratorExpression
returns an iterator over the current context.IteratorExpression
using given expression for initial evaluation.
<
entity
ClassLoader
.
complexType
definition.XMLIntrospector.getLog()
property instead
MapEntryAdder
is used to add entries to a map.MapEntryAdder
which adds entries to given method.
MethodExpression
evaluates a method on the current bean context.MethodUpdater
updates the current bean context
by calling a WriteMethod with the String value from the XML attribute
or element.XMLSingleMappingFileBeanInfoDigester
is a digester of XML files
containing XMLBeanInfo definitions for a JavaBeans.URI
's to prefixes.ID
.
ID
attribute value.
ID
.
ElementDescriptor
and AttributeDescriptor
.ObjectStringConverter.objectToString(Object, Class, Context)
instead.
The preferred way to support flavours is by setting the
org.apache.commons.betwixt.FLAVOUR
option.
This can then be retrieved by calling Context.getOptions()
Options
on the current description.Betwixt
optional behaviour hints.IDGenerator
implementations.XMLIntrospector
to customize it's caching behaviour (or programmatically modify the XmlBeanInfo finding).Betwixt
descriptors.OverrideCollectiveTypeStategy.overrideCollective(Class)
)
or not collective (OverrideCollectiveTypeStategy.overrideNotCollective(Class)
).Object
from the
stack containing beans that have been mapped.
AttributeDescriptor
s
with the values in the given Attributes
.
Updater
from the stack.
Object
onto the mapped bean stack.
Options
onto the stack.
Updater
onto the stack.
XMLBeanInfo
.
"
entity
ID
's at random.PositiveIds
property to true
.
PositiveIds
property.
Context
to provide read specific functionality.ReadContext
with the same settings
as an existing Context
.
ReadContext
with standard log.
ReadContext
with the same settings as an existing Context
.
InputSource
.
XMLBeanInfo
's for the
first suitable match.
RuleSupport
is an abstract base class containing useful
helper methods.ID
's in numeric sequence.ActionMappingStrategy
used to define
default mapping acitons.
AttributesDescriptors
for this element.
AttributeSuppressionStrategy
.
XMLBeanInfo
classes.
ReadContext
property instead
ClassNormalizer
strategy.
DataTypeMapper
to be used during the transcription/
ElementSuppressionStrategy
.
ID
attribute
This is used to write (for example) automatic ID
attribute values.
IDGenerator
implementation
used to generate ID
attribute values.
IDREF
attribute name
This is used (for example) to deal with cyclic references.
BeanCreateRule
instances
BeanRuleSet
instances
ID
's and IDREF
attributes
be used to cross-reference matching objects?
MappingDerivationStrategy
used to determine whether the bind or introspection time
type should determine the mapping.
BindingConfiguration.setMapIDs(boolean)
XMLIntrospector.setElementNameMapper(NameMapper)
and XMLIntrospector.setAttributeNameMapper(NameMapper)
ID
's should be generated
NamespacePrefixMapper
used to convert namespave URIs
into prefixes.
XMLBeanInfoRegistry
implementation.
Context
TypeBindingStrategy
to be used
to determine the binding for Java types.
Updater
used to update a Context
from the text value
corresponding to this node in an xml document
ValueSuppressionStrategy
.
ValueSuppressionStrategy
.
BindingConfiguration.setMapIDs(boolean)
XMLIntrospector
to be used to create
the mappings for the xml.
IntrospectionConfiguration.isAttributesForPrimitives()
.AbstractBeanWriter.startElement(WriteContext, String, String, String, Attributes)
StringExpression
returns the current context object as a string.ObjectStringConverter.stringToObject(String, Class, Context)
instead.
The preferred way to support flavours is by setting the
org.apache.commons.betwixt.FLAVOUR
option.
This can then be retrieved by calling Context.getOptions()
TypeBindingStrategy
used by Betwixt.Updater
's.Updater
instead
Updater
acts like an lvalue which updates the current
context bean from some text from an XML attribute or element.java.reflect.Introspector
bean info search path be used?
VariableExpression
represents a variable expression such as
$foo
which returns the value of the given variable.VariableName
property
qualifiedName
.
InputSource
.
XMLBeanInfo
represents the XML metadata information
used to map a Java Bean cleanly to XML.XMLBeanInfoDigester
is a digester of XML files
containing XMLBeanInfo definitions for a JavaBean.XMLBeanInfo
's.XMLIntrospector
an introspector of beans to create a
XMLBeanInfo instance.XMLUtils
contains basic utility methods for XML.JavaBean
instances.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |