|
|||||||||
| Home >> All >> pbn >> xmlparse >> xml >> [ tiny overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
pbn.xmlparse.xml.tiny
Interface ParsedXML

- All Known Implementing Classes:
- ParseNode
- public interface ParsedXML
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 |
getTypeName
public java.lang.String getTypeName()
getName
public java.lang.String getName()
- Used to obtain the tag name which produced this node.
getContent
public java.lang.String getContent()
- Used to obtain the textual content of tags, comments and CDATA.
isEmpty
public boolean isEmpty()
- Used to determine whether the tag which generated this node was empty.
This method always returns true when called on nodes not generated by tags.
elements
public java.util.Enumeration elements()
- Used to obtain an enumeration of this node's children.
The children of a node correspond to data contained between start and end tag pairs.
The enumeration is always empty for nodes which were not generated from tag pairs.
attributes
public java.util.Enumeration attributes()
- Used to obtain an enumeration of the attributes applied to an XML element.
The contents of the enumeration are the names of attributes within an XML start tag.
The enumeration is always empty for nodes which were not generated by tags.
getAttribute
public java.lang.String getAttribute(java.lang.String a)
- Used to obtain the value of a tag attribute.
|
|||||||||
| Home >> All >> pbn >> xmlparse >> xml >> [ tiny overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC