sjg.xml
Class Parser

java.lang.Object
  extended by sjg.xml.Parser

public class Parser
extends java.lang.Object

An xml parser. Use the static methods parse(String) or parse(InputStream)


Constructor Summary
Parser()
           
 
Method Summary
static Document parse(java.applet.Applet applet, java.lang.String fn)
          Load a document from an applet jar
static Document parse(java.io.InputStream is)
          Parses an input stream.
static Document parse(java.lang.String text)
          Parses a text string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parser

public Parser()
Method Detail

parse

public static Document parse(java.lang.String text)
Parses a text string.


parse

public static Document parse(java.io.InputStream is)
Parses an input stream.


parse

public static Document parse(java.applet.Applet applet,
                             java.lang.String fn)
Load a document from an applet jar