Class XmlTree.Node
java.lang.Object
sunlabs.brazil.sunlabs.XmlTree.Node
- Enclosing class:
XmlTree
This describes a node of the XML tree
-
Constructor Summary
ConstructorsConstructorDescriptionNode(String tag, boolean singleton, StringMap attributes, XmlTree.Node parent, int type, int index) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChild(XmlTree.Node child) voidintgetAttribute(String name) getCdata()getChild(int i) intgetIndex()getTag()booleanisSingle()voidputAttribute(String key, String value) voidvoidsetSingle(boolean s) toString()
-
Constructor Details
-
Node
public Node(String tag, boolean singleton, StringMap attributes, XmlTree.Node parent, int type, int index)
-
-
Method Details
-
setCdata
-
putAttribute
-
appendCdata
-
addChild
-
getChild
-
getTag
-
getIndex
public int getIndex() -
isSingle
public boolean isSingle() -
setSingle
public void setSingle(boolean s) -
getAttributes
-
getAttribute
-
getCdata
-
getParent
-
childCount
public int childCount() -
toString
-