com.softwareag.tamino.db.api.objectModel.dom
Class TDOMReader

java.lang.Object
  extended by com.softwareag.tamino.db.api.objectModel.dom.TDOMReader

public class TDOMReader
extends java.lang.Object

Version:
$Revision: 1.12 $
Author:
Marcus Schreyer

Constructor Summary
TDOMReader()
          Constructor.
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TDOMReader

public TDOMReader()
Constructor. Initializes the DOMReader.

Method Detail

read

public org.w3c.dom.Document read(java.io.Reader input)
                          throws java.io.IOException,
                                 org.xml.sax.SAXException,
                                 javax.xml.parsers.ParserConfigurationException
Read the DOM tree specified with a Node object from a given Reader.

Parameters:
input - the XML document is read from.
Returns:
Document is the representation of the XML document
Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

read

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
Read the DOM tree specified with a Node object from a given Reader.

Parameters:
input - the XML document is read from.
systemId - for resolving relative references
Returns:
Document is the representation of the XML document
Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

read

public org.w3c.dom.Document read(java.io.InputStream input)
                          throws java.io.IOException,
                                 org.xml.sax.SAXException,
                                 javax.xml.parsers.ParserConfigurationException
Read the DOM tree specified with a Node object from a given InputStream.

Parameters:
input - the XML document is read from.
Returns:
Document is the representation of the XML document
Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

read

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
Read the DOM tree specified with a Node object from a given InputStream.

Parameters:
input - the XML document is read from.
systemId - for resolving relative references
Returns:
Document is the representation of the XML document
Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException

read

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
Read the DOM tree specified from the given InputSource.

Parameters:
inputSource - the XML document is read from.
systemId - for resolving relative references
Returns:
Document is the representation of the XML document
Throws:
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException


Copyright (c) 2012 Software AG. All Rights Reserved.