|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.betwixt.io.read.MappingAction
Executes mapping action for a subgraph. It is intended that most MappingAction's will not need to maintain state.
Nested Class Summary | |
static class |
MappingAction.Base
Basic action. |
Field Summary | |
static MappingAction |
EMPTY
|
static MappingAction |
IGNORE
|
Constructor Summary | |
MappingAction()
|
Method Summary | |
abstract MappingAction |
begin(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
Executes mapping action on new element. |
abstract void |
body(java.lang.String text,
ReadContext context)
Executes mapping action for element body text |
abstract void |
end(ReadContext context)
Executes mapping action one element ends |
abstract MappingAction |
next(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final MappingAction EMPTY
public static final MappingAction IGNORE
Constructor Detail |
public MappingAction()
Method Detail |
public abstract MappingAction next(java.lang.String namespace, java.lang.String name, org.xml.sax.Attributes attributes, ReadContext context) throws java.lang.Exception
java.lang.Exception
public abstract MappingAction begin(java.lang.String namespace, java.lang.String name, org.xml.sax.Attributes attributes, ReadContext context) throws java.lang.Exception
namespace
- name
- attributes
- Attributes not nullcontext
- Context not null
java.lang.Exception
public abstract void body(java.lang.String text, ReadContext context) throws java.lang.Exception
text
- context
-
java.lang.Exception
public abstract void end(ReadContext context) throws java.lang.Exception
context
-
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |