com.lowagie.text.xml
Class XmlParser

java.lang.Object
  |
  +--com.lowagie.text.xml.XmlParser
Direct Known Subclasses:
HtmlParser

public class XmlParser
extends Object

This class can be used to parse an XML file.


Field Summary
protected  javax.xml.parsers.SAXParser parser
          This is the instance of the parser.
 
Constructor Summary
XmlParser()
          Constructs an XmlParser.
 
Method Summary
 void go(DocListener document, org.xml.sax.InputSource is)
          Parses a given file.
 void go(DocListener document, org.xml.sax.InputSource is, HashMap tagmap)
          Parses a given file.
 void go(DocListener document, org.xml.sax.InputSource is, String tagmap)
          Parses a given file.
 void go(DocListener document, String file)
          Parses a given file.
 void go(DocListener document, String file, HashMap tagmap)
          Parses a given file.
 void go(DocListener document, String file, String tagmap)
          Parses a given file.
static void parse(DocListener document, org.xml.sax.InputSource is)
          Parses a given file that validates with the iText DTD and writes the content to a document.
static void parse(DocListener document, org.xml.sax.InputSource is, HashMap tagmap)
          Parses a given file and writes the content to a document, using a certain tagmap.
static void parse(DocListener document, org.xml.sax.InputSource is, String tagmap)
          Parses a given file that validates with the iText DTD and writes the content to a document.
static void parse(DocListener document, InputStream is)
          Parses a given file that validates with the iText DTD and writes the content to a document.
static void parse(DocListener document, InputStream is, HashMap tagmap)
          Parses a given file and writes the content to a document, using a certain tagmap.
static void parse(DocListener document, InputStream is, String tagmap)
          Parses a given file that validates with the iText DTD and writes the content to a document.
static void parse(DocListener document, Reader is)
          Parses a given file that validates with the iText DTD and writes the content to a document.
static void parse(DocListener document, Reader is, HashMap tagmap)
          Parses a given file and writes the content to a document, using a certain tagmap.
static void parse(DocListener document, Reader is, String tagmap)
          Parses a given file that validates with the iText DTD and writes the content to a document.
static void parse(DocListener document, String file)
          Parses a given file that validates with the iText DTD and writes the content to a document.
static void parse(DocListener document, String file, HashMap tagmap)
          Parses a given file and writes the content to a document, using a certain tagmap.
static void parse(DocListener document, String file, String tagmap)
          Parses a given file that validates with the iText DTD and writes the content to a document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parser

protected javax.xml.parsers.SAXParser parser
This is the instance of the parser.

Constructor Detail

XmlParser

public XmlParser()
Constructs an XmlParser.

Method Detail

go

public void go(DocListener document,
               org.xml.sax.InputSource is)
Parses a given file.


go

public void go(DocListener document,
               org.xml.sax.InputSource is,
               String tagmap)
Parses a given file.


go

public void go(DocListener document,
               org.xml.sax.InputSource is,
               HashMap tagmap)
Parses a given file.


go

public void go(DocListener document,
               String file)
Parses a given file.


go

public void go(DocListener document,
               String file,
               String tagmap)
Parses a given file.


go

public void go(DocListener document,
               String file,
               HashMap tagmap)
Parses a given file.


parse

public static void parse(DocListener document,
                         org.xml.sax.InputSource is)
Parses a given file that validates with the iText DTD and writes the content to a document.


parse

public static void parse(DocListener document,
                         org.xml.sax.InputSource is,
                         String tagmap)
Parses a given file that validates with the iText DTD and writes the content to a document.


parse

public static void parse(DocListener document,
                         org.xml.sax.InputSource is,
                         HashMap tagmap)
Parses a given file and writes the content to a document, using a certain tagmap.


parse

public static void parse(DocListener document,
                         String file)
Parses a given file that validates with the iText DTD and writes the content to a document.


parse

public static void parse(DocListener document,
                         String file,
                         String tagmap)
Parses a given file that validates with the iText DTD and writes the content to a document.


parse

public static void parse(DocListener document,
                         String file,
                         HashMap tagmap)
Parses a given file and writes the content to a document, using a certain tagmap.


parse

public static void parse(DocListener document,
                         InputStream is)
Parses a given file that validates with the iText DTD and writes the content to a document.


parse

public static void parse(DocListener document,
                         InputStream is,
                         String tagmap)
Parses a given file that validates with the iText DTD and writes the content to a document.


parse

public static void parse(DocListener document,
                         InputStream is,
                         HashMap tagmap)
Parses a given file and writes the content to a document, using a certain tagmap.


parse

public static void parse(DocListener document,
                         Reader is)
Parses a given file that validates with the iText DTD and writes the content to a document.


parse

public static void parse(DocListener document,
                         Reader is,
                         String tagmap)
Parses a given file that validates with the iText DTD and writes the content to a document.


parse

public static void parse(DocListener document,
                         Reader is,
                         HashMap tagmap)
Parses a given file and writes the content to a document, using a certain tagmap.