A D G O P S T X

A

addNode(XMLNode) - Method in class org.txml.XMLNode
adds a child node.

D

deleteNode(int) - Method in class org.txml.XMLNode
deletes a child node (by index)
deleteNode(XMLNode) - Method in class org.txml.XMLNode
deletes a child node

G

getName() - Method in class org.txml.XMLNode
returns node name (aka tag name)
getNode(int) - Method in class org.txml.XMLNode
returns specified content (aka child) node.
getNodeCount() - Method in class org.txml.XMLNode
returns number of content (aka children) nodes.
getValue() - Method in class org.txml.XMLNode
returns node value.

O

org.txml - package org.txml
 

P

parse(InputStream) - Static method in class org.txml.XMLParser
Parses InputStream into XMLNode.
print(XMLNode, PrintStream) - Static method in class org.txml.XMLParser
 

S

select(String) - Method in class org.txml.XMLNode
selects nodes from the XML tree that starts at this node.
selectAllValues(XMLNode, String) - Static method in class org.txml.XMLUtil
Utility function to select all values from the XML tree (an array of values is returned).
selectOneValue(XMLNode, String) - Static method in class org.txml.XMLUtil
Utility function to select one value from the XML tree.
setValue(String) - Method in class org.txml.XMLNode
sets node value to the given string.

T

toString() - Method in class org.txml.XMLNode
Prints content of the current XML node (and all its descendants) into string.
toString(String) - Method in class org.txml.XMLNode
Prints content of the current node as a formatted XML document.

X

XMLNode - class org.txml.XMLNode.
This class represents one XML node.
XMLNode(String) - Constructor for class org.txml.XMLNode
Creates a node without a value or content.
XMLNode(String, String) - Constructor for class org.txml.XMLNode
Creates a node with value, but no content.
XMLNode(String, XMLNode) - Constructor for class org.txml.XMLNode
Create a node containig a child node.
XMLParser - class org.txml.XMLParser.
Placeholder for XML parsing code (that is static for convenience).
XMLParser() - Constructor for class org.txml.XMLParser
 
XMLSyntaxError - error org.txml.XMLSyntaxError.
Run-time exception generated by XMLParser.parse when some kind of a syntax error is encountered.
XMLSyntaxError(String) - Constructor for class org.txml.XMLSyntaxError
 
XMLSyntaxError(String, int) - Constructor for class org.txml.XMLSyntaxError
 
XMLUtil - class org.txml.XMLUtil.
Set of useful utility functions
XMLUtil() - Constructor for class org.txml.XMLUtil
 

A D G O P S T X