|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ReadContext | |
---|---|
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. |
Uses of ReadContext in org.apache.commons.betwixt.io |
---|
Subclasses of ReadContext in org.apache.commons.betwixt.io | |
---|---|
private static class |
BeanRuleSet.DigesterReadContext
Specialization of ReadContext when reading from Digester . |
Methods in org.apache.commons.betwixt.io that return ReadContext | |
---|---|
private ReadContext |
BeanReader.makeContext()
Factory method for new contexts. |
Methods in org.apache.commons.betwixt.io with parameters of type ReadContext | |
---|---|
private MappingAction |
BeanRuleSet.ActionMappingRule.nextAction(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
Gets the next action to be executed |
Constructors in org.apache.commons.betwixt.io with parameters of type ReadContext | |
---|---|
BeanRuleSet.DigesterReadContext(ReadContext readContext)
|
|
BeanRuleSet(XMLIntrospector introspector,
java.lang.String basePath,
ElementDescriptor baseElementDescriptor,
java.lang.Class baseBeanClass,
ReadContext baseContext)
Base constructor. |
Uses of ReadContext in org.apache.commons.betwixt.io.read |
---|
Methods in org.apache.commons.betwixt.io.read with parameters of type ReadContext | |
---|---|
abstract MappingAction |
MappingAction.begin(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
Executes mapping action on new element. |
MappingAction |
MappingAction.Ignore.begin(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
|
MappingAction |
MappingAction.Base.begin(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
|
MappingAction |
BeanBindAction.begin(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
Begins a new element which is to be bound to a bean. |
MappingAction |
ArrayBindAction.begin(java.lang.String namespace,
java.lang.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 |
ArrayBindAction.BeanMapping.begin(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
Push updater and then delegate |
void |
SimpleTypeBindAction.body(java.lang.String text,
ReadContext context)
|
abstract void |
MappingAction.body(java.lang.String text,
ReadContext context)
Executes mapping action for element body text |
void |
MappingAction.Ignore.body(java.lang.String text,
ReadContext context)
|
void |
MappingAction.Base.body(java.lang.String text,
ReadContext context)
|
void |
BeanBindAction.body(java.lang.String text,
ReadContext context)
|
void |
ArrayBindAction.BeanMapping.body(java.lang.String text,
ReadContext context)
Delegate to delegate (Doh!) |
java.lang.Object |
BeanCreationList.create(ElementMapping elementMapping,
ReadContext readContext)
Creates an Object based on the given element mapping and read context. |
java.lang.Object |
BeanCreationList.ChainWorker.create(ElementMapping elementMapping,
ReadContext readContext)
|
abstract java.lang.Object |
BeanCreationChain.create(ElementMapping elementMapping,
ReadContext context)
Create a bean for the given mapping in the given context. |
java.lang.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 java.lang.Object |
BeanBindAction.createBean(java.lang.String namespace,
java.lang.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.Ignore.end(ReadContext context)
|
void |
MappingAction.Base.end(ReadContext context)
|
void |
BeanBindAction.end(ReadContext context)
|
void |
ArrayBindAction.end(ReadContext context)
Pops the ArrayList and the updater from
their stacks. |
void |
ArrayBindAction.BeanMapping.end(ReadContext context)
Call delegate then pop Updater |
private ElementDescriptor |
BeanBindAction.getElementDescriptor(ElementDescriptor propertyDescriptor,
ReadContext context)
Allows the navigation from a reference to a property object to the descriptor defining what the property is. |
MappingAction |
SimpleTypeBindAction.next(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
|
abstract MappingAction |
MappingAction.next(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
|
MappingAction |
MappingAction.Ignore.next(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
|
MappingAction |
MappingAction.Base.next(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
|
MappingAction |
ArrayBindAction.next(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
Construct a delegating implmentation that wraps the real bean creator |
MappingAction |
ArrayBindAction.BeanMapping.next(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
Use delegate to create next action |
private void |
BeanBindAction.update(ReadContext context,
java.lang.Object value)
|
Constructors in org.apache.commons.betwixt.io.read with parameters of type ReadContext | |
---|---|
ReadContext(ReadContext readContext)
Constructs a ReadContext
with the same settings as an existing Context . |
Uses of ReadContext in org.apache.commons.betwixt.registry |
---|
Methods in org.apache.commons.betwixt.registry with parameters of type ReadContext | |
---|---|
java.lang.Class |
DefaultXMLBeanInfoRegistry.resolveType(ElementMapping mapping,
ReadContext context)
Checks all registered XMLBeanInfo 's for the
first suitable match. |
java.lang.Class |
PolymorphicReferenceResolver.resolveType(ElementMapping mapping,
ReadContext context)
Resolves the bind-time type of a polymorphic element. |
Uses of ReadContext in org.apache.commons.betwixt.strategy |
---|
Methods in org.apache.commons.betwixt.strategy with parameters of type ReadContext | |
---|---|
MappingAction |
DefaultActionMappingStrategy.getMappingAction(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
Gets the mapping action to map the given element. |
abstract MappingAction |
ActionMappingStrategy.getMappingAction(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
Gets the mapping action to map the given element. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |