org.txml
Class XMLParser

java.lang.Object
  |
  +--org.txml.XMLParser

public class XMLParser
extends java.lang.Object

Placeholder for XML parsing code (that is static for convenience).


Constructor Summary
XMLParser()
           
 
Method Summary
static XMLNode parse(java.io.InputStream in)
          Parses InputStream into XMLNode.
static void print(XMLNode node, java.io.PrintStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLParser

public XMLParser()
Method Detail

parse

public static XMLNode parse(java.io.InputStream in)
                     throws java.io.IOException
Parses InputStream into XMLNode. Caller should be prepared to get a XMLSyntaxError exception (in case of a wrong or not supported XML syntax).

print

public static void print(XMLNode node,
                         java.io.PrintStream out)