|
|||||||||||
| 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 attribute| Method Detail |
public Cardinality getCardinality()
getCardinality in interface Childpublic Element getContainer()
getContainer in interface Childpublic String getJavaName()
getJavaName in interface ChildgetJavaName in class Bindingpublic String getJavaType()
getJavaType in interface ChildgetJavaType in class Bindingpublic boolean isAttribute()
isAttribute in interface Childpublic boolean isMany()
isMany in interface Childpublic String getId()
Child
getId in interface Childpublic boolean equals(Object o)
equals in class Objectpublic String toString()
toString in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||