org.apache.commons.betwixt.io.read
Class MappingAction.Base
java.lang.Object
org.apache.commons.betwixt.io.read.MappingAction
org.apache.commons.betwixt.io.read.MappingAction.Base
- Direct Known Subclasses:
- ArrayBindAction, BeanBindAction, SimpleTypeBindAction
- Enclosing class:
- MappingAction
public static class MappingAction.Base
- extends MappingAction
Basic action.
- Version:
- $Revision: 561314 $
- Author:
- Apache Commons Team
Method Summary |
MappingAction |
begin(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
Executes mapping action on new element. |
void |
body(java.lang.String text,
ReadContext context)
Executes mapping action for element body text |
void |
end(ReadContext context)
Executes mapping action one element ends |
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 |
MappingAction.Base
public MappingAction.Base()
next
public MappingAction next(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
throws java.lang.Exception
- Specified by:
next
in class MappingAction
- Throws:
java.lang.Exception
begin
public MappingAction begin(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
throws java.lang.Exception
- Description copied from class:
MappingAction
- Executes mapping action on new element.
- Specified by:
begin
in class MappingAction
attributes
- Attributes not nullcontext
- Context not null
- Returns:
- the MappingAction to be used to map the sub-graph
under this element
- Throws:
java.lang.Exception
- See Also:
MappingAction.begin(String, String, Attributes, ReadContext)
body
public void body(java.lang.String text,
ReadContext context)
throws java.lang.Exception
- Description copied from class:
MappingAction
- Executes mapping action for element body text
- Specified by:
body
in class MappingAction
- Throws:
java.lang.Exception
- See Also:
MappingAction.body(String, ReadContext)
end
public void end(ReadContext context)
throws java.lang.Exception
- Description copied from class:
MappingAction
- Executes mapping action one element ends
- Specified by:
end
in class MappingAction
- Throws:
java.lang.Exception
- See Also:
MappingAction.end(ReadContext)
Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.