org.apache.axis2.om.impl.dom.jaxp
Class DocumentBuilderImpl

java.lang.Object
  extended byjavax.xml.parsers.DocumentBuilder
      extended byorg.apache.axis2.om.impl.dom.jaxp.DocumentBuilderImpl

public class DocumentBuilderImpl
extends DocumentBuilder


Constructor Summary
DocumentBuilderImpl()
           
 
Method Summary
 DOMImplementation getDOMImplementation()
           
 boolean isNamespaceAware()
          Returns whether the parser is configured to understand namespaces or not.
 boolean isValidating()
          The StAX builder used is the org.apache.axis2.om.impl.llom.StAXOMBuilder is a validating builder.
 Document newDocument()
          Returns a new document impl.
 Document parse(File file)
           
 Document parse(InputSource inputSource)
           
 Document parse(InputStream is)
           
 Document parse(InputStream is, String systemId)
           
 Document parse(String uri)
           
 void setEntityResolver(EntityResolver arg0)
           
 void setErrorHandler(ErrorHandler arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentBuilderImpl

public DocumentBuilderImpl()
Method Detail

isNamespaceAware

public boolean isNamespaceAware()
Returns whether the parser is configured to understand namespaces or not. The StAX parser used by this DOM impl is namespace aware therefore this will always return true.

See Also:
DocumentBuilder.isNamespaceAware()

isValidating

public boolean isValidating()
The StAX builder used is the org.apache.axis2.om.impl.llom.StAXOMBuilder is a validating builder.

See Also:
DocumentBuilder.isValidating()

getDOMImplementation

public DOMImplementation getDOMImplementation()

newDocument

public Document newDocument()
Returns a new document impl.

See Also:
DocumentBuilder.newDocument()

setEntityResolver

public void setEntityResolver(EntityResolver arg0)

setErrorHandler

public void setErrorHandler(ErrorHandler arg0)

parse

public Document parse(InputSource inputSource)
               throws SAXException,
                      IOException
Throws:
SAXException
IOException

parse

public Document parse(InputStream is)
               throws SAXException,
                      IOException
Throws:
SAXException
IOException
See Also:
DocumentBuilder.parse(java.io.InputStream)

parse

public Document parse(File file)
               throws SAXException,
                      IOException
Throws:
SAXException
IOException
See Also:
DocumentBuilder.parse(java.io.File)

parse

public Document parse(InputStream is,
                      String systemId)
               throws SAXException,
                      IOException
Throws:
SAXException
IOException
See Also:
DocumentBuilder.parse(java.io.InputStream, java.lang.String)

parse

public Document parse(String uri)
               throws SAXException,
                      IOException
Throws:
SAXException
IOException
See Also:
DocumentBuilder.parse(java.lang.String)