|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xdoclet.sdk.xgg.binding.Binding | +--xdoclet.sdk.xgg.binding.Attribute
Holder object for a XML attribute
Constructor Summary | |
Attribute(String xmlName,
Element container)
Constructor for an Attribute object |
Method Summary | |
boolean |
equals(Object o)
|
Cardinality |
getCardinality()
Gets the cardinality related to the associated attribute |
Element |
getContainer()
Gets the container element |
String |
getId()
Returns an id based on the class name and the xml name. |
String |
getJavaName()
Gets the Java name of the child |
String |
getJavaType()
Gets the Java type of the child |
boolean |
isAttribute()
Returns whether or not this sub element is an attribute |
boolean |
isMany()
Returns whether or not this sub element has a many cardinality |
String |
toString()
Implementation of the toString method |
Methods inherited from class xdoclet.sdk.xgg.binding.Binding |
getRegexp, getVersion, getXmlName, setRegexp |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface xdoclet.sdk.xgg.binding.Child |
getVersion, getXmlName |
Constructor Detail |
public Attribute(String xmlName, Element container)
xmlName
- XML name of the attributecontainer
- Element whose has this attributeMethod Detail |
public Cardinality getCardinality()
getCardinality
in interface Child
public Element getContainer()
getContainer
in interface Child
public String getJavaName()
getJavaName
in interface Child
getJavaName
in class Binding
public String getJavaType()
getJavaType
in interface Child
getJavaType
in class Binding
public boolean isAttribute()
isAttribute
in interface Child
public boolean isMany()
isMany
in interface Child
public String getId()
Child
getId
in interface Child
public boolean equals(Object o)
equals
in class Object
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |