|
|||||||||||
| 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.XSetTopRule
Rule implementation that calls a method on the top (parent) object, passing the (top-1) (child) object as an argument.
| Field Summary | |
protected java.lang.String |
methodName
The method name to call on the parent object. |
protected java.lang.String |
paramType
The Java class name of the parameter type expected by the method. |
| Fields inherited from class de.uni_paderborn.fujaba.codegen.digester.XRule |
digester |
| Constructor Summary | |
XSetTopRule(XDigester digester,
java.lang.String methodName)
Construct a "set parent" rule with the specified method name. |
|
XSetTopRule(XDigester digester,
java.lang.String methodName,
java.lang.String paramType)
Construct a "set parent" rule with the specified method name. |
|
| Method Summary | |
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 |
begin, 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 paramType
| Constructor Detail |
public XSetTopRule(XDigester digester,
java.lang.String methodName)
digester - The associated DigestermethodName - Method name of the parent method to call
public XSetTopRule(XDigester digester,
java.lang.String methodName,
java.lang.String paramType)
digester - The associated DigestermethodName - Method name of the parent method to callparamType - Java class of the parent method's argument (if you wish to use a primitive
type, specify the corresonding Java wrapper class instead, such as java.lang.Boolean
for a boolean parameter)| Method Detail |
public void end()
throws java.lang.Exception
end in class XRulejava.lang.Exception - Exception description not provided
public void finish()
throws java.lang.Exception
finish in class XRulejava.lang.Exception - Exception description not provided
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||