|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Stores an element of parsed XML. Instances of this class are used to compose a parse tree. It's methods may be used to retrieve it's attributes and it's child nodes.
Method Summary | |
java.util.Enumeration |
attributes()
Used to obtain an enumeration of the attributes applied to an XML element. |
java.util.Enumeration |
elements()
Used to obtain an enumeration of this node's children. |
java.lang.String |
getAttribute(java.lang.String a)
Used to obtain the value of a tag attribute. |
java.lang.String |
getContent()
Used to obtain the textual content of tags, comments and CDATA. |
java.lang.String |
getName()
Used to obtain the tag name which produced this node. |
java.lang.String |
getTypeName()
|
boolean |
isEmpty()
Used to determine whether the tag which generated this node was empty. |
Method Detail |
public java.lang.String getTypeName()
public java.lang.String getName()
public java.lang.String getContent()
public boolean isEmpty()
public java.util.Enumeration elements()
public java.util.Enumeration attributes()
public java.lang.String getAttribute(java.lang.String a)
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |