Package com.lowagie.text.xml
Class XmlParser
java.lang.Object
com.lowagie.text.xml.XmlParser
- Direct Known Subclasses:
HtmlParser
This class can be used to parse an XML file.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
go
(DocListener document, String file) Parses a given file.void
go
(DocListener document, String file, String tagmap) Parses a given file.void
Parses a given file.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, String tagmap) Parses a given file.void
go
(DocListener document, InputSource is, Map<String, XmlPeer> tagmap) Parses a given file.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, 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, 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) Parses a given file that validates with the iText DTD and writes the content to a document.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
Parses a given file and writes the content to a document, using a certain tagmap.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, String tagmap) Parses a given file that validates with the iText DTD and writes the content to a document.static void
Parses a given file and writes the content to a document, using a certain tagmap.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, String tagmap) 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.
-
Field Details
-
parser
This is the instance of the parser.
-
-
Constructor Details
-
XmlParser
public XmlParser()Constructs an XmlParser.
-
-
Method Details
-
parse
Parses a given file that validates with the iText DTD and writes the content to a document.- Parameters:
document
- The document that will listen to the parseris
- the input source with the content
-
parse
Parses a given file that validates with the iText DTD and writes the content to a document.- Parameters:
document
- The document that will listen to the parseris
- The input source with the contenttagmap
- a user defined tagmap
-
parse
Parses a given file and writes the content to a document, using a certain tagmap.- Parameters:
document
- The document that will listen to the parseris
- The input source with the contenttagmap
- a user defined tagmap
-
parse
Parses a given file that validates with the iText DTD and writes the content to a document.- Parameters:
document
- The document that will listen to the parserfile
- The path to a file with the content
-
parse
Parses a given file that validates with the iText DTD and writes the content to a document.- Parameters:
document
- The document that will listen to the parserfile
- The path to a file with the contenttagmap
- A user defined tagmap
-
parse
Parses a given file and writes the content to a document, using a certain tagmap.- Parameters:
document
- The document that will listen to the parserfile
- The path to a file with the contenttagmap
- A user defined tagmap
-
parse
Parses a given file that validates with the iText DTD and writes the content to a document.- Parameters:
document
- The document that will listen to the parseris
- The input source with the content
-
parse
Parses a given file that validates with the iText DTD and writes the content to a document.- Parameters:
document
- The document that will listen to the parseris
- The input stream with the contenttagmap
- A user defined tagmap
-
parse
Parses a given file and writes the content to a document, using a certain tagmap.- Parameters:
document
- The document that will listen to the parseris
- The InputStream with the contenttagmap
- A user defined tagmap
-
parse
Parses a given file that validates with the iText DTD and writes the content to a document.- Parameters:
document
- The document that will listen to the parseris
- The reader that reads the content
-
parse
Parses a given file that validates with the iText DTD and writes the content to a document.- Parameters:
document
- The document that will listen to the parseris
- The reader that reads the contenttagmap
- A user defined tagmap
-
parse
Parses a given file and writes the content to a document, using a certain tagmap.- Parameters:
document
- The document that will listen to the parseris
- The reader that reads the contenttagmap
- A user defined tagmap
-
go
Parses a given file.- Parameters:
document
- The document that will listen to the parseris
- The InputStream with the contents
-
go
Parses a given file.- Parameters:
document
- The document that will listen to the parseris
- The input source with the contenttagmap
- A user defined tagmap
-
go
Parses a given file.- Parameters:
document
- The document that will listen to the parseris
- the input source with the contenttagmap
- an inputstream to a user defined tagmap
-
go
Parses a given file.- Parameters:
document
- The document that will listen to the parseris
- the input source with the contenttagmap
- a user defined tagmap
-
go
Parses a given file.- Parameters:
document
- The document that will listen to the parserfile
- The path to a file with the content
-
go
Parses a given file.- Parameters:
document
- the document that will listen to the parserfile
- the path to a file with the contenttagmap
- a user defined tagmap
-
go
Parses a given file.- Parameters:
document
- The document that will listen to the parserfile
- the path to a file with the contenttagmap
- a user defined tagmap
-