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 TypeMethodDescriptionvoid
addChild
(XmlTree.Node child) void
int
getAttribute
(String name) getCdata()
getChild
(int i) int
getIndex()
getTag()
boolean
isSingle()
void
putAttribute
(String key, String value) void
void
setSingle
(boolean s) toString()
-
Constructor Details
-
Node
public Node(String tag, boolean singleton, StringMap attributes, XmlTree.Node parent, int type, int index)
-
-
Method Details