org.apache.myfaces.trinidadinternal.share.xml
Class JaxpXMLProvider

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.share.xml.JaxpXMLProvider
All Implemented Interfaces:
XMLProvider

public class JaxpXMLProvider
extends java.lang.Object
implements XMLProvider

Implementation of XMLProvider that uses JAXP to access a parser.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/share/xml/JaxpXMLProvider.java#0 $) $Date: 10-nov-2005.18:59:08 $
Author:
The Oracle ADF Faces Team

Constructor Summary
JaxpXMLProvider()
           
 
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

JaxpXMLProvider

public JaxpXMLProvider()
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
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-2007 Apache Software Foundation. All Rights Reserved.