public class XMLParser extends Object implements IXMLParser
| Modifier and Type | Class and Description |
|---|---|
class |
XMLParser.ByteBufferInputStream |
static class |
XMLParser.FilterErrorHandler |
| Constructor and Description |
|---|
XMLParser() |
XMLParser(boolean validating) |
XMLParser(boolean validating,
StreamSource[] schemaSources) |
| Modifier and Type | Method and Description |
|---|---|
IXMLElement |
parse(InputStream inputStream)
Parse the given stream to a XML
|
IXMLElement |
parse(InputStream inputStream,
String systemId)
Parse the given stream to a XML and set the systemId to the inputSource.
|
IXMLElement |
parse(InputStream inputStream,
String systemId,
Source xslSource) |
IXMLElement |
parse(String inputString)
Parse the given text as an xml
|
IXMLElement |
parse(URL inputURL)
Parse the resource at the url specified
|
public XMLParser()
public XMLParser(boolean validating)
public XMLParser(boolean validating,
StreamSource[] schemaSources)
public IXMLElement parse(InputStream inputStream)
IXMLParserparse in interface IXMLParserinputStream - Stream to parse. Must be not null.public IXMLElement parse(InputStream inputStream, String systemId)
IXMLParserparse in interface IXMLParserinputStream - Stream to parse. Must be not null.systemId - System id of the file parsedpublic IXMLElement parse(InputStream inputStream, String systemId, Source xslSource)
public IXMLElement parse(String inputString)
IXMLParserparse in interface IXMLParserinputString - Xml written in a stringpublic IXMLElement parse(URL inputURL)
IXMLParserparse in interface IXMLParserinputURL - Url of the resourceCopyright © 2001–2025. All rights reserved.