Package | Description |
---|---|
org.apache.commons.betwixt.io.read |
Package contains strategy and configuration classes used by reading only.
|
org.apache.commons.betwixt.strategy |
This package contains a variety of plugin Strategy patterns that can be used to customize the
default behaviours.
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayBindAction
Acts to bind an array property.
|
class |
BeanBindAction
Action that creates and binds a new bean instance.
|
static class |
MappingAction.Base
Basic action.
|
class |
SimpleTypeBindAction
Action binds a simple type.
|
Modifier and Type | Field and Description |
---|---|
static MappingAction |
MappingAction.EMPTY |
static MappingAction |
MappingAction.IGNORE |
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.
|
static MappingAction |
ArrayBindAction.createMappingAction(ElementDescriptor elementDescriptor)
Factory method creates implementations to map arrays.
|
MappingAction |
ReadContext.currentMappingAction()
Gets the current mapping action
|
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) |
MappingAction |
ReadContext.popMappingAction()
Pops an action mapping from the stack
|
Modifier and Type | Method and Description |
---|---|
void |
ReadContext.pushMappingAction(MappingAction mappingAction)
Pushs an action mapping onto the stack
|
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.