|
|||||||||||
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
de.uni_paderborn.fujaba.codegen.digester.rules.XAddToRule
Rule implementation that calls a method on the (top-1) (parent) object, passing the top object (child) as an argument. It is commonly used to establish parent-child relationships.
Field Summary | |
protected java.lang.String |
className
name of attribute which contains classname |
protected java.lang.String |
methodName
name of attribute which contains methodname |
Fields inherited from class de.uni_paderborn.fujaba.codegen.digester.XRule |
digester |
Constructor Summary | |
XAddToRule(XDigester digester,
java.lang.String methodName,
java.lang.String className)
Construct a "set next" rule with the specified method name. |
Method Summary | |
void |
begin(org.xml.sax.Attributes attributes)
Process the start of this element. |
void |
end()
Process the end of this element. |
void |
finish()
Clean up after parsing is complete. |
Methods inherited from class de.uni_paderborn.fujaba.codegen.digester.XRule |
body |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String methodName
protected java.lang.String className
Constructor Detail |
public XAddToRule(XDigester digester, java.lang.String methodName, java.lang.String className)
digester
- The associated DigestermethodName
- Method name of the parent method to callclassName
- No description providedMethod Detail |
public void begin(org.xml.sax.Attributes attributes) throws java.lang.Exception
begin
in class XRule
attributes
- The attribute list for this element
java.lang.Exception
- Exception description not providedpublic void end() throws java.lang.Exception
end
in class XRule
java.lang.Exception
- Exception description not providedpublic void finish() throws java.lang.Exception
finish
in class XRule
java.lang.Exception
- Exception description not provided
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |