|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.threed.jpct.util.XMLNode
A XMLNode is a node of the tree-structure the XMLFactory builds when parsing a XML-file. A XMLNode represents a XML-tag with its attributes and data.
Method Summary | |
java.util.Vector |
getAttributes()
Returns the collection of attributes. |
java.lang.String |
getAttributeValue(java.lang.String attribute)
Gets the value of a node's attribute or an empty String if the node doesn't have this attribute. |
java.lang.String |
getData()
Returns the data of the node. |
int |
getLevel()
Gets the level of the node, i.e. the depth in the tree. |
java.lang.String |
getName()
Gets the name of the node. |
java.util.Vector |
getSubNodes()
Returns all subnodes of this node. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.String getData()
public java.util.Vector getSubNodes()
public int getLevel()
public java.lang.String getName()
public java.lang.String getAttributeValue(java.lang.String attribute)
attribute
- the attribute to get the value of
public java.util.Vector getAttributes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |