Package sunlabs.brazil.sunlabs
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