org.apache.axiom.om.impl.dom.jaxp
Class DOOMDocumentBuilder
java.lang.Object
javax.xml.parsers.DocumentBuilder
org.apache.axiom.om.impl.dom.jaxp.DOOMDocumentBuilder
public class DOOMDocumentBuilder
- extends javax.xml.parsers.DocumentBuilder
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 |
DOOMDocumentBuilder
protected DOOMDocumentBuilder()
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 javax.xml.parsers.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 javax.xml.parsers.DocumentBuilder
- See Also:
DocumentBuilder.isValidating()
getDOMImplementation
public org.w3c.dom.DOMImplementation getDOMImplementation()
- Specified by:
getDOMImplementation
in class javax.xml.parsers.DocumentBuilder
newDocument
public org.w3c.dom.Document newDocument()
- Returns a new document impl.
- Specified by:
newDocument
in class javax.xml.parsers.DocumentBuilder
- See Also:
DocumentBuilder.newDocument()
setEntityResolver
public void setEntityResolver(org.xml.sax.EntityResolver arg0)
- Specified by:
setEntityResolver
in class javax.xml.parsers.DocumentBuilder
setErrorHandler
public void setErrorHandler(org.xml.sax.ErrorHandler arg0)
- Specified by:
setErrorHandler
in class javax.xml.parsers.DocumentBuilder
parse
public org.w3c.dom.Document parse(org.xml.sax.InputSource inputSource)
throws org.xml.sax.SAXException,
IOException
- Specified by:
parse
in class javax.xml.parsers.DocumentBuilder
- Throws:
org.xml.sax.SAXException
IOException
parse
public org.w3c.dom.Document parse(InputStream is)
throws org.xml.sax.SAXException,
IOException
- Overrides:
parse
in class javax.xml.parsers.DocumentBuilder
- Throws:
org.xml.sax.SAXException
IOException
- See Also:
DocumentBuilder.parse(java.io.InputStream)
parse
public org.w3c.dom.Document parse(File file)
throws org.xml.sax.SAXException,
IOException
- Overrides:
parse
in class javax.xml.parsers.DocumentBuilder
- Throws:
org.xml.sax.SAXException
IOException
- See Also:
DocumentBuilder.parse(java.io.File)
parse
public org.w3c.dom.Document parse(InputStream is,
String systemId)
throws org.xml.sax.SAXException,
IOException
- Overrides:
parse
in class javax.xml.parsers.DocumentBuilder
- Throws:
org.xml.sax.SAXException
IOException
- See Also:
DocumentBuilder.parse(java.io.InputStream, String)
parse
public org.w3c.dom.Document parse(String uri)
throws org.xml.sax.SAXException,
IOException
- Overrides:
parse
in class javax.xml.parsers.DocumentBuilder
- Throws:
org.xml.sax.SAXException
IOException
- See Also:
DocumentBuilder.parse(String)
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.