org.apache.axiom.om.impl.dom.jaxp
Class DOOMDocumentBuilder

java.lang.Object
  extended by javax.xml.parsers.DocumentBuilder
      extended by org.apache.axiom.om.impl.dom.jaxp.DOOMDocumentBuilder

public class DOOMDocumentBuilder
extends DocumentBuilder


Constructor Summary
protected DOOMDocumentBuilder()
           
 
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.axiom.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 javax.xml.parsers.DocumentBuilder
getSchema, isXIncludeAware, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOOMDocumentBuilder

protected DOOMDocumentBuilder()
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.

Specified by:
isNamespaceAware in class DocumentBuilder
See Also:
DocumentBuilder.isNamespaceAware()

isValidating

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

Specified by:
isValidating in class DocumentBuilder
See Also:
DocumentBuilder.isValidating()

getDOMImplementation

public DOMImplementation getDOMImplementation()
Specified by:
getDOMImplementation in class DocumentBuilder

newDocument

public Document newDocument()
Returns a new document impl.

Specified by:
newDocument in class DocumentBuilder
See Also:
DocumentBuilder.newDocument()

setEntityResolver

public void setEntityResolver(EntityResolver arg0)
Specified by:
setEntityResolver in class DocumentBuilder

setErrorHandler

public void setErrorHandler(ErrorHandler arg0)
Specified by:
setErrorHandler in class DocumentBuilder

parse

public Document parse(InputSource inputSource)
               throws SAXException,
                      IOException
Specified by:
parse in class DocumentBuilder
Throws:
SAXException
IOException

parse

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

parse

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

parse

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

parse

public Document parse(String uri)
               throws SAXException,
                      IOException
Overrides:
parse in class DocumentBuilder
Throws:
SAXException
IOException
See Also:
DocumentBuilder.parse(String)


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.