org.apache.myfaces.trinidadinternal.share.xml
Interface XMLProvider

All Known Implementing Classes:
JaxpXMLProvider

public interface XMLProvider

Interface for generic access to XML functionality. Abstracts differences between XML parsers.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/share/xml/XMLProvider.java#0 $) $Date: 10-nov-2005.18:59:16 $

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.
 

Method Detail

getXMLReader

org.xml.sax.XMLReader getXMLReader()
Returns an implementation of the SAX2 XMLReader interface.


parseDocument

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.
Throws:
java.io.IOException
org.xml.sax.SAXException


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.