|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.uni_paderborn.fujaba.codegen.digester.XRule
Concrete implementations of this class implement actions to be taken when a corresponding nested pattern of XML elements has been matched.
| Field Summary | |
protected XDigester |
digester
The Digester with which this Rule is associated. |
| Constructor Summary | |
XRule(XDigester digester)
Default constructor sets only the the associated Digester. |
|
| Method Summary | |
void |
begin(org.xml.sax.Attributes attributes)
This method is called when the beginning of a matching XML element is encountered. |
void |
body(java.lang.String text)
This method is called when the body of a matching XML element is encountered. |
void |
end()
This method is called when the end of a matching XML element is encountered. |
void |
finish()
This method is called after all parsing methods have been called, to allow Rules to remove temporary data. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected XDigester digester
| Constructor Detail |
public XRule(XDigester digester)
digester - The digester with which this rule is associated| Method Detail |
public void begin(org.xml.sax.Attributes attributes)
throws java.lang.Exception
attributes - The attribute list of this element
java.lang.Exception - Exception description not provided
public void body(java.lang.String text)
throws java.lang.Exception
text - The text of the body of this element
java.lang.Exception - Exception description not provided
public void end()
throws java.lang.Exception
java.lang.Exception - Exception description not provided
public void finish()
throws java.lang.Exception
java.lang.Exception - Exception description not provided
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||