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
|
next
public static final BeanBindAction INSTANCE
public MappingAction begin(String namespace, String name, org.xml.sax.Attributes attributes, ReadContext context) throws Exception
begin
in class MappingAction.Base
attributes
- Attributes not nullcontext
- Context not nullException
MappingAction.begin(String, String, Attributes, ReadContext)
public void body(String text, ReadContext context) throws Exception
MappingAction
body
in class MappingAction.Base
Exception
MappingAction.body(String, ReadContext)
public void end(ReadContext context) throws Exception
MappingAction
end
in class MappingAction.Base
Exception
MappingAction.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/IDREF
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.