oracle.cabo.share.xml
Interface XMLProvider
- All Known Implementing Classes:
- ApacheXMLProvider, DefaultXMLProvider, OracleXMLProvider
- public interface XMLProvider
Interface for generic access to XML functionality. Abstracts
differences between XML parsers.
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)
Parses the specified input. |
getXMLReader
public org.xml.sax.XMLReader getXMLReader()
- Returns an implementation of the SAX2 XMLReader interface.
parseDocument
public org.w3c.dom.Document parseDocument(org.xml.sax.InputSource source)
throws java.io.IOException,
org.xml.sax.SAXException
- Parses the specified input.
- Parameters:
source
- The InputSource to parse- Returns:
- Returns a Document object containing the DOM representation
of the specified InputSource.