public interface IXmlParser
Modifier and Type | Method and Description |
---|---|
IDocumentNode |
parse(InputStream XmlStream, String charset)
Parses XML provided as an InputStream and an encoding.
|
IDocumentNode |
parse(String Xml)
Parses XML provided as a String .
|
IDocumentNode parse(InputStream XmlStream, String charset) throws IOException
InputStream
and an encoding.
XmlStream
- the Xml stream
charset
- the character set. If null
then parser should detect encoding from stream.
IOException
- Signals that an I/O exception has occurred.
IDocumentNode parse(String Xml)
String
.
Xml
- the Xml string
Copyright © 1998–2023 iText Group NV. All rights reserved.