|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xdoclet.sdk.xgg.MergedMethod
This class represents a method in the generated sources. It holds information about what versions of a DTD/XSD it is valid for.
Constructor Summary | |
MergedMethod(Child child)
Constructor for the MergedMethod object |
Method Summary | |
void |
addChild(Child child)
Adds a child to this method model |
Cardinality |
getCardinality()
Gets the cardinality related to the first child |
List |
getChildren()
Gets all the children. |
int |
getIndex()
|
String |
getJavaName()
Gets the Java name of the first child |
String |
getJavaType()
Gets the Java type of the first child |
String |
getJavaVariableName()
Gets the Java name of the property extracted from the Java name |
String |
getRegexp()
Gets the regular expression pattern used for validation |
String |
getXmlName()
This will return the XML name of the first child. |
boolean |
isAttribute()
Returns whether or not this sub element is an attribute |
boolean |
isMany()
Returns true if this child is a many element. |
void |
setIndex(int index)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MergedMethod(Child child)
child
- Description of the ParameterMethod Detail |
public void addChild(Child child)
child
- The child to addpublic Cardinality getCardinality()
public List getChildren()
Child
.public String getJavaName()
public String getJavaType()
public String getJavaVariableName()
public String getRegexp()
public String getXmlName()
public boolean isAttribute()
public boolean isMany()
public void setIndex(int index)
public int getIndex()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |