Package | Description |
---|---|
org.apache.commons.betwixt.io |
Package contains classes dealing directly with the reading and writing of beans.
|
org.apache.commons.betwixt.io.read |
Package contains strategy and configuration classes used by reading only.
|
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 |
This package contains a variety of plugin Strategy patterns that can be used to customize the
default behaviours.
|
Constructor and Description |
---|
BeanRuleSet(XMLIntrospector introspector,
String basePath,
ElementDescriptor baseElementDescriptor,
Class baseBeanClass,
ReadContext baseContext)
Base constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract MappingAction |
MappingAction.begin(String namespace,
String name,
org.xml.sax.Attributes attributes,
ReadContext context)
Executes mapping action on new element.
|
MappingAction |
MappingAction.Base.begin(String namespace,
String name,
org.xml.sax.Attributes attributes,
ReadContext context) |
MappingAction |
ArrayBindAction.begin(String namespace,
String name,
org.xml.sax.Attributes attributes,
ReadContext context)
Mapping arrays requires the addition of a temporary object
(an
ArrayList ) into the stack together with an
updater for that object. |
MappingAction |
BeanBindAction.begin(String namespace,
String name,
org.xml.sax.Attributes attributes,
ReadContext context)
Begins a new element which is to be bound to a bean.
|
abstract void |
MappingAction.body(String text,
ReadContext context)
Executes mapping action for element body text
|
void |
MappingAction.Base.body(String text,
ReadContext context) |
void |
BeanBindAction.body(String text,
ReadContext context) |
void |
SimpleTypeBindAction.body(String text,
ReadContext context) |
abstract Object |
BeanCreationChain.create(ElementMapping elementMapping,
ReadContext context)
Create a bean for the given mapping in the given context.
|
Object |
BeanCreationList.create(ElementMapping elementMapping,
ReadContext readContext)
Creates an Object based on the given element mapping and read context.
|
Object |
ChainedBeanCreator.create(ElementMapping elementMapping,
ReadContext context,
BeanCreationChain chain)
Creates a bean either directly or by delegating the responsibility to the other
members of the chain.
|
protected Object |
BeanBindAction.createBean(String namespace,
String name,
org.xml.sax.Attributes attributes,
ElementDescriptor descriptor,
ReadContext context)
Factory method to create new bean instances
|
abstract void |
MappingAction.end(ReadContext context)
Executes mapping action one element ends
|
void |
MappingAction.Base.end(ReadContext context) |
void |
ArrayBindAction.end(ReadContext context)
Pops the
ArrayList and the updater from
their stacks. |
void |
BeanBindAction.end(ReadContext context) |
abstract MappingAction |
MappingAction.next(String namespace,
String name,
org.xml.sax.Attributes attributes,
ReadContext context) |
MappingAction |
MappingAction.Base.next(String namespace,
String name,
org.xml.sax.Attributes attributes,
ReadContext context) |
MappingAction |
ArrayBindAction.next(String namespace,
String name,
org.xml.sax.Attributes attributes,
ReadContext context)
Construct a delegating implmentation that wraps the real bean creator
|
MappingAction |
SimpleTypeBindAction.next(String namespace,
String name,
org.xml.sax.Attributes attributes,
ReadContext context) |
Constructor and Description |
---|
ReadContext(ReadContext readContext)
Constructs a
ReadContext
with the same settings as an existing Context . |
Modifier and Type | Method and Description |
---|---|
Class |
PolymorphicReferenceResolver.resolveType(ElementMapping mapping,
ReadContext context)
Resolves the bind-time type of a polymorphic element.
|
Class |
DefaultXMLBeanInfoRegistry.resolveType(ElementMapping mapping,
ReadContext context)
Checks all registered
XMLBeanInfo 's for the
first suitable match. |
Modifier and Type | Method and Description |
---|---|
abstract MappingAction |
ActionMappingStrategy.getMappingAction(String namespace,
String name,
org.xml.sax.Attributes attributes,
ReadContext context)
Gets the mapping action to map the given element.
|
MappingAction |
DefaultActionMappingStrategy.getMappingAction(String namespace,
String name,
org.xml.sax.Attributes attributes,
ReadContext context)
Gets the mapping action to map the given element.
|
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.