public class XmlParser extends Object
Modifier and Type | Field and Description |
---|---|
protected 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,
InputSource is)
Parses a given file.
|
void |
go(DocListener document,
InputSource is,
InputStream tagmap)
Parses a given file.
|
void |
go(DocListener document,
InputSource is,
Map<String,XmlPeer> tagmap)
Parses a given file.
|
void |
go(DocListener document,
InputSource is,
String tagmap)
Parses a given file.
|
void |
go(DocListener document,
String file)
Parses a given file.
|
void |
go(DocListener document,
String file,
Map<String,XmlPeer> tagmap)
Parses a given file.
|
void |
go(DocListener document,
String file,
String tagmap)
Parses a given file.
|
static void |
parse(DocListener document,
InputSource is)
Parses a given file that validates with the iText DTD and writes the content to a document.
|
static void |
parse(DocListener document,
InputSource is,
Map<String,XmlPeer> tagmap)
Parses a given file and writes the content to a document, using a certain tagmap.
|
static void |
parse(DocListener document,
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,
Map<String,XmlPeer> 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,
Map<String,XmlPeer> 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,
Map<String,XmlPeer> 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.
|
protected SAXParser parser
public void go(DocListener document, InputSource is)
document
- The document that will listen to the parseris
- The InputStream with the contentspublic void go(DocListener document, InputSource is, String tagmap)
document
- The document that will listen to the parseris
- The input source with the contenttagmap
- A user defined tagmappublic void go(DocListener document, InputSource is, InputStream tagmap)
document
- The document that will listen to the parseris
- the input source with the contenttagmap
- an inputstream to a user defined tagmappublic void go(DocListener document, InputSource is, Map<String,XmlPeer> tagmap)
document
- The document that will listen to the parseris
- the input source with the contenttagmap
- a user defined tagmappublic void go(DocListener document, String file)
document
- The document that will listen to the parserfile
- The path to a file with the contentpublic void go(DocListener document, String file, 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, String file, Map<String,XmlPeer> 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, InputSource is)
document
- The document that will listen to the parseris
- the input source with the contentpublic static void parse(DocListener document, InputSource is, String tagmap)
document
- The document that will listen to the parseris
- The input source with the contenttagmap
- a user defined tagmappublic static void parse(DocListener document, InputSource is, Map<String,XmlPeer> tagmap)
document
- The document that will listen to the parseris
- The input source with the contenttagmap
- a user defined tagmappublic static void parse(DocListener document, String file)
document
- The document that will listen to the parserfile
- The path to a file with the contentpublic static void parse(DocListener document, String file, 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, String file, Map<String,XmlPeer> 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, InputStream is)
document
- The document that will listen to the parseris
- The input source with the contentpublic static void parse(DocListener document, InputStream is, String tagmap)
document
- The document that will listen to the parseris
- The input stream with the contenttagmap
- A user defined tagmappublic static void parse(DocListener document, InputStream is, Map<String,XmlPeer> tagmap)
document
- The document that will listen to the parseris
- The InputStream with the contenttagmap
- A user defined tagmappublic static void parse(DocListener document, Reader is)
document
- The document that will listen to the parseris
- The reader that reads the contentpublic static void parse(DocListener document, Reader is, 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, Reader is, Map<String,XmlPeer> tagmap)
document
- The document that will listen to the parseris
- The reader that reads the contenttagmap
- A user defined tagmapCopyright © 2020. All rights reserved.