|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--org.menagery.dtd.Element
| Constructor Summary | |
Element(java.lang.String elementName)
Creates an EMPTY element. |
|
Element(java.lang.String elementName,
java.lang.String elementContent)
Creates a new element. |
|
| Method Summary | |
Attlist |
getAttlist()
Get the attribute list. |
java.lang.String |
getName()
Get the element's name. |
OptionList |
getOptionList()
Get the contents/OptionList. |
boolean |
isEmpty()
Indicates if this is an EMPTY element. |
void |
setAttlist(Attlist attlist)
Set the attribute list. |
java.lang.String |
toString()
Create a String representation of the contents of this Element and all its aggregate objects. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public Element(java.lang.String elementName,
java.lang.String elementContent)
elementName - The element name.elementContent - The element content from the DTD.public Element(java.lang.String elementName)
elementName - The element name.| Method Detail |
public OptionList getOptionList()
public boolean isEmpty()
public java.lang.String getName()
public Attlist getAttlist()
public void setAttlist(Attlist attlist)
attlist - The attribute list.public java.lang.String toString()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||