UIX 2.2.16

oracle.cabo.share.xml
Class DefaultXMLProvider

java.lang.Object
  |
  +--oracle.cabo.share.xml.DefaultXMLProvider
All Implemented Interfaces:
XMLProvider

public class DefaultXMLProvider
extends java.lang.Object
implements XMLProvider

Implementation of XMLProvider that uses JAXP to access a parser; if JAXP is not available, the Oracle XML parser will be used.


Constructor Summary
DefaultXMLProvider()
           
 
Method Summary
 org.xml.sax.XMLReader getXMLReader()
          Returns an implementation of the SAX2 XMLReader interface.
 org.w3c.dom.Document parseDocument(org.xml.sax.InputSource source)
          Implementation of XMLProvider.parseDocument().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultXMLProvider

public DefaultXMLProvider()
Method Detail

getXMLReader

public org.xml.sax.XMLReader getXMLReader()
Returns an implementation of the SAX2 XMLReader interface.
Specified by:
getXMLReader in interface XMLProvider

parseDocument

public org.w3c.dom.Document parseDocument(org.xml.sax.InputSource source)
                                   throws java.io.IOException,
                                          org.xml.sax.SAXException
Implementation of XMLProvider.parseDocument().
Specified by:
parseDocument in interface XMLProvider
Following copied from interface: oracle.cabo.share.xml.XMLProvider
Parameters:
source - The InputSource to parse
Returns:
Returns a Document object containing the DOM representation of the specified InputSource.

UIX 2.2.16