public class XmlParser
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected javax.xml.parsers.SAXParser |
parser
This is the instance of the parser.
|
Constructor and Description |
---|
XmlParser()
Constructs an XmlParser.
|
Modifier and Type | Method and Description |
---|---|
void |
go(DocListener document,
org.xml.sax.InputSource is)
Parses a given file.
|
void |
go(DocListener document,
org.xml.sax.InputSource is,
java.util.HashMap tagmap)
Parses a given file.
|
void |
go(DocListener document,
org.xml.sax.InputSource is,
java.io.InputStream tagmap)
Parses a given file.
|
void |
go(DocListener document,
org.xml.sax.InputSource is,
java.lang.String tagmap)
Parses a given file.
|
void |
go(DocListener document,
java.lang.String file)
Parses a given file.
|
void |
go(DocListener document,
java.lang.String file,
java.util.HashMap tagmap)
Parses a given file.
|
void |
go(DocListener document,
java.lang.String file,
java.lang.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,
java.util.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,
java.lang.String tagmap)
Parses a given file that validates with the iText DTD and writes the content to a document.
|
static void |
parse(DocListener document,
java.io.InputStream is)
Parses a given file that validates with the iText DTD and writes the content to a document.
|
static void |
parse(DocListener document,
java.io.InputStream is,
java.util.HashMap tagmap)
Parses a given file and writes the content to a document, using a certain tagmap.
|
static void |
parse(DocListener document,
java.io.InputStream is,
java.lang.String tagmap)
Parses a given file that validates with the iText DTD and writes the content to a document.
|
static void |
parse(DocListener document,
java.io.Reader is)
Parses a given file that validates with the iText DTD and writes the content to a document.
|
static void |
parse(DocListener document,
java.io.Reader is,
java.util.HashMap tagmap)
Parses a given file and writes the content to a document, using a certain tagmap.
|
static void |
parse(DocListener document,
java.io.Reader is,
java.lang.String tagmap)
Parses a given file that validates with the iText DTD and writes the content to a document.
|
static void |
parse(DocListener document,
java.lang.String file)
Parses a given file that validates with the iText DTD and writes the content to a document.
|
static void |
parse(DocListener document,
java.lang.String file,
java.util.HashMap tagmap)
Parses a given file and writes the content to a document, using a certain tagmap.
|
static void |
parse(DocListener document,
java.lang.String file,
java.lang.String tagmap)
Parses a given file that validates with the iText DTD and writes the content to a document.
|
protected javax.xml.parsers.SAXParser parser
public void go(DocListener document, org.xml.sax.InputSource is)
document
- The document that will listen to the parseris
- The InputStream with the contentspublic void go(DocListener document, org.xml.sax.InputSource is, java.lang.String tagmap)
document
- The document that will listen to the parseris
- The inputsource with the contenttagmap
- A user defined tagmappublic void go(DocListener document, org.xml.sax.InputSource is, java.io.InputStream tagmap)
document
- The document that will listen to the parseris
- the inputsource with the contenttagmap
- an inputstream to a user defined tagmappublic void go(DocListener document, org.xml.sax.InputSource is, java.util.HashMap tagmap)
document
- The document that will listen to the parseris
- the inputsource with the contenttagmap
- a user defined tagmappublic void go(DocListener document, java.lang.String file)
document
- The document that will listen to the parserfile
- The path to a file with the contentpublic void go(DocListener document, java.lang.String file, java.lang.String tagmap)
document
- the document that will listen to the parserfile
- the path to a file with the contenttagmap
- a user defined tagmappublic void go(DocListener document, java.lang.String file, java.util.HashMap tagmap)
document
- The document that will listen to the parserfile
- the path to a file with the contenttagmap
- a user defined tagmappublic static void parse(DocListener document, org.xml.sax.InputSource is)
document
- The document that will listen to the parseris
- the inputsource with the contentpublic static void parse(DocListener document, org.xml.sax.InputSource is, java.lang.String tagmap)
document
- The document that will listen to the parseris
- The inputsource with the contenttagmap
- a user defined tagmappublic static void parse(DocListener document, org.xml.sax.InputSource is, java.util.HashMap tagmap)
document
- The document that will listen to the parseris
- The inputsource with the contenttagmap
- a user defined tagmappublic static void parse(DocListener document, java.lang.String file)
document
- The document that will listen to the parserfile
- The path to a file with the contentpublic static void parse(DocListener document, java.lang.String file, java.lang.String tagmap)
document
- The document that will listen to the parserfile
- The path to a file with the contenttagmap
- A user defined tagmappublic static void parse(DocListener document, java.lang.String file, java.util.HashMap tagmap)
document
- The document that will listen to the parserfile
- The path to a file with the contenttagmap
- A user defined tagmappublic static void parse(DocListener document, java.io.InputStream is)
document
- The document that will listen to the parseris
- The inputsource with the contentpublic static void parse(DocListener document, java.io.InputStream is, java.lang.String tagmap)
document
- The document that will listen to the parseris
- The inputstream with the contenttagmap
- A user defined tagmappublic static void parse(DocListener document, java.io.InputStream is, java.util.HashMap tagmap)
document
- The document that will listen to the parseris
- The InputStream with the contenttagmap
- A user defined tagmappublic static void parse(DocListener document, java.io.Reader is)
document
- The document that will listen to the parseris
- The reader that reads the contentpublic static void parse(DocListener document, java.io.Reader is, java.lang.String tagmap)
document
- The document that will listen to the parseris
- The reader that reads the contenttagmap
- A user defined tagmappublic static void parse(DocListener document, java.io.Reader is, java.util.HashMap tagmap)
document
- The document that will listen to the parseris
- The reader that reads the contenttagmap
- A user defined tagmap