public class BeanBindAction extends MappingAction.Base
MappingAction.Base| Modifier and Type | Field and Description |
|---|---|
static BeanBindAction |
INSTANCE
Singleton instance
|
EMPTY, IGNORE| Constructor and Description |
|---|
BeanBindAction() |
| Modifier and Type | Method and Description |
|---|---|
MappingAction |
begin(String namespace,
String name,
org.xml.sax.Attributes attributes,
ReadContext context)
Begins a new element which is to be bound to a bean.
|
void |
body(String text,
ReadContext context)
Executes mapping action for element body text
|
protected Object |
createBean(String namespace,
String name,
org.xml.sax.Attributes attributes,
ElementDescriptor descriptor,
ReadContext context)
Factory method to create new bean instances
|
void |
end(ReadContext context)
Executes mapping action one element ends
|
nextpublic static final BeanBindAction INSTANCE
public MappingAction begin(String namespace, String name, org.xml.sax.Attributes attributes, ReadContext context) throws Exception
begin in class MappingAction.Baseattributes - Attributes not nullcontext - Context not nullExceptionMappingAction.begin(String, String, Attributes, ReadContext)public void body(String text, ReadContext context) throws Exception
MappingActionbody in class MappingAction.BaseExceptionMappingAction.body(String, ReadContext)public void end(ReadContext context) throws Exception
MappingActionend in class MappingAction.BaseExceptionMappingAction.end(ReadContext)protected Object createBean(String namespace, String name, org.xml.sax.Attributes attributes, ElementDescriptor descriptor, ReadContext context)
namespace - the namespace for the elementname - the local nameattributes - the Attributes used to match ID/IDREFCopyright © 2002-2013 Apache Software Foundation. All Rights Reserved.