|
|||||||||||
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.XObjectCreateRule
Rule implementation that creates a new object and pushes it onto the object stack. When the element is complete, the object will be popped
Field Summary | |
protected java.lang.String |
attributeName
The attribute containing an override class name if it is present. |
protected java.lang.String |
className
The Java class name of the object to be created. |
Fields inherited from class de.uni_paderborn.fujaba.codegen.digester.XRule |
digester |
Constructor Summary | |
XObjectCreateRule(XDigester digester,
java.lang.String className)
Construct an object create rule with the specified class name. |
|
XObjectCreateRule(XDigester digester,
java.lang.String className,
java.lang.String attributeName)
Construct an object create rule with the specified class name and an optional attribute name containing an override. |
Method Summary | |
void |
begin(org.xml.sax.Attributes attributes)
Process the beginning 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 attributeName
protected java.lang.String className
Constructor Detail |
public XObjectCreateRule(XDigester digester, java.lang.String className)
digester
- The associated DigesterclassName
- Java class name of the object to be createdpublic XObjectCreateRule(XDigester digester, java.lang.String className, java.lang.String attributeName)
digester
- The associated DigesterclassName
- Java class name of the object to be createdattributeName
- Attribute name which, if present, contains an override of the class
name to createMethod Detail |
public void begin(org.xml.sax.Attributes attributes) throws java.lang.Exception
begin
in class XRule
attributes
- The attribute list of 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 |