org.apache.commons.betwixt.io.read
Class ArrayBindAction.BeanMapping
java.lang.Object
org.apache.commons.betwixt.io.read.MappingAction
org.apache.commons.betwixt.io.read.MappingAction.Base
org.apache.commons.betwixt.io.read.ArrayBindAction.BeanMapping
- Enclosing class:
- ArrayBindAction
- private static class ArrayBindAction.BeanMapping
- extends MappingAction.Base
Method Summary |
MappingAction |
begin(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
Push updater and then delegate |
void |
body(java.lang.String text,
ReadContext context)
Delegate to delegate (Doh!) |
void |
end(ReadContext context)
Call delegate then pop Updater |
(package private) MappingAction |
getDelegate()
Gets the action to which the bean binding is delegated. |
MappingAction |
next(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
Use delegate to create next action |
(package private) void |
setDelegate(MappingAction action)
Sets the action to which the bean binding is delegated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
delegate
private MappingAction delegate
ArrayBindAction.BeanMapping
ArrayBindAction.BeanMapping()
getDelegate
MappingAction getDelegate()
- Gets the action to which the bean binding is delegated.
- Returns:
MappingAction
delegate, not null
setDelegate
void setDelegate(MappingAction action)
- Sets the action to which the bean binding is delegated.
begin
public MappingAction begin(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
throws java.lang.Exception
- Push updater and then delegate
- Overrides:
begin
in class MappingAction.Base
- Throws:
java.lang.Exception
body
public void body(java.lang.String text,
ReadContext context)
throws java.lang.Exception
- Delegate to delegate (Doh!)
- Overrides:
body
in class MappingAction.Base
- Throws:
java.lang.Exception
end
public void end(ReadContext context)
throws java.lang.Exception
- Call delegate then pop
Updater
- Overrides:
end
in class MappingAction.Base
- Throws:
java.lang.Exception
next
public MappingAction next(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
throws java.lang.Exception
- Use delegate to create next action
- Overrides:
next
in class MappingAction.Base
- Throws:
java.lang.Exception