public class TDOMReader
extends java.lang.Object
Constructor and Description |
---|
TDOMReader()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected org.w3c.dom.Document |
read(org.xml.sax.InputSource inputSource,
java.lang.String systemId)
Read the DOM tree specified from the given InputSource.
|
org.w3c.dom.Document |
read(java.io.InputStream input)
Read the DOM tree specified with a Node object from a given InputStream.
|
org.w3c.dom.Document |
read(java.io.InputStream input,
java.lang.String systemId)
Read the DOM tree specified with a Node object from a given InputStream.
|
org.w3c.dom.Document |
read(java.io.Reader input)
Read the DOM tree specified with a Node object from a given Reader.
|
org.w3c.dom.Document |
read(java.io.Reader input,
java.lang.String systemId)
Read the DOM tree specified with a Node object from a given Reader.
|
public org.w3c.dom.Document read(java.io.Reader input) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
input
- the XML document is read from.java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public org.w3c.dom.Document read(java.io.Reader input, java.lang.String systemId) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
input
- the XML document is read from.systemId
- for resolving relative referencesjava.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public org.w3c.dom.Document read(java.io.InputStream input) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
input
- the XML document is read from.java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public org.w3c.dom.Document read(java.io.InputStream input, java.lang.String systemId) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
input
- the XML document is read from.systemId
- for resolving relative referencesjava.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
protected org.w3c.dom.Document read(org.xml.sax.InputSource inputSource, java.lang.String systemId) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
inputSource
- the XML document is read from.systemId
- for resolving relative referencesjava.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
Copyright (c) 2017 Software AG. All Rights Reserved.