|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.digester.Rule
org.apache.commons.betwixt.io.BeanRuleSet.ActionMappingRule
Single rule that is used to map all elements.
Field Summary |
Fields inherited from class org.apache.commons.digester.Rule |
digester, namespaceURI |
Constructor Summary | |
private |
BeanRuleSet.ActionMappingRule()
|
Method Summary | |
void |
begin(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes)
Processes the start of a new Element . |
void |
body(java.lang.String namespace,
java.lang.String name,
java.lang.String text)
Processes the body text for the current element. |
void |
end(java.lang.String namespace,
java.lang.String name)
Process the end of this element. |
void |
finish()
Tidy up. |
private MappingAction |
nextAction(java.lang.String namespace,
java.lang.String name,
org.xml.sax.Attributes attributes,
ReadContext context)
Gets the next action to be executed |
Methods inherited from class org.apache.commons.digester.Rule |
begin, body, end, getDigester, getNamespaceURI, setDigester, setNamespaceURI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
private BeanRuleSet.ActionMappingRule()
Method Detail |
public void begin(java.lang.String namespace, java.lang.String name, org.xml.sax.Attributes attributes) throws java.lang.Exception
Element
.
The actual processing is delegated to MappingAction
's.
java.lang.Exception
Rule.begin(String, String, Attributes)
private MappingAction nextAction(java.lang.String namespace, java.lang.String name, org.xml.sax.Attributes attributes, ReadContext context) throws java.lang.Exception
namespace
- the element's namespace, not nullname
- the element name, not nullattributes
- the element's attributes, not nullcontext
- the ReadContext
against which the xml is being mapped.
MappingAction
, not null
java.lang.Exception
public void body(java.lang.String namespace, java.lang.String name, java.lang.String text) throws java.lang.Exception
MappingAction
.
java.lang.Exception
Rule.body(String, String, String)
public void end(java.lang.String namespace, java.lang.String name) throws java.lang.Exception
MappingAction
.
java.lang.Exception
public void finish()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |