org.apache.axiom.om.impl.dom.jaxp
Class DocumentBuilderImpl
java.lang.Object
javax.xml.parsers.DocumentBuilder
org.apache.axiom.om.impl.dom.jaxp.DocumentBuilderImpl
- public class DocumentBuilderImpl
- extends javax.xml.parsers.DocumentBuilder
Method Summary |
org.w3c.dom.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. |
org.w3c.dom.Document |
newDocument()
Returns a new document impl. |
org.w3c.dom.Document |
parse(java.io.File file)
|
org.w3c.dom.Document |
parse(org.xml.sax.InputSource inputSource)
|
org.w3c.dom.Document |
parse(java.io.InputStream is)
|
org.w3c.dom.Document |
parse(java.io.InputStream is,
java.lang.String systemId)
|
org.w3c.dom.Document |
parse(java.lang.String uri)
|
void |
setEntityResolver(org.xml.sax.EntityResolver arg0)
|
void |
setErrorHandler(org.xml.sax.ErrorHandler arg0)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentBuilderImpl
public DocumentBuilderImpl()
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.axiom.om.impl.llom.StAXOMBuilder
is a validating builder.
- See Also:
DocumentBuilder.isValidating()
getDOMImplementation
public org.w3c.dom.DOMImplementation getDOMImplementation()
newDocument
public org.w3c.dom.Document newDocument()
- Returns a new document impl.
- See Also:
DocumentBuilder.newDocument()
setEntityResolver
public void setEntityResolver(org.xml.sax.EntityResolver arg0)
setErrorHandler
public void setErrorHandler(org.xml.sax.ErrorHandler arg0)
parse
public org.w3c.dom.Document parse(org.xml.sax.InputSource inputSource)
throws org.xml.sax.SAXException,
java.io.IOException
- Throws:
org.xml.sax.SAXException
java.io.IOException
parse
public org.w3c.dom.Document parse(java.io.InputStream is)
throws org.xml.sax.SAXException,
java.io.IOException
- Throws:
org.xml.sax.SAXException
java.io.IOException
- See Also:
DocumentBuilder.parse(java.io.InputStream)
parse
public org.w3c.dom.Document parse(java.io.File file)
throws org.xml.sax.SAXException,
java.io.IOException
- Throws:
org.xml.sax.SAXException
java.io.IOException
- See Also:
DocumentBuilder.parse(java.io.File)
parse
public org.w3c.dom.Document parse(java.io.InputStream is,
java.lang.String systemId)
throws org.xml.sax.SAXException,
java.io.IOException
- Throws:
org.xml.sax.SAXException
java.io.IOException
- See Also:
DocumentBuilder.parse(java.io.InputStream,
java.lang.String)
parse
public org.w3c.dom.Document parse(java.lang.String uri)
throws org.xml.sax.SAXException,
java.io.IOException
- Throws:
org.xml.sax.SAXException
java.io.IOException
- See Also:
DocumentBuilder.parse(java.lang.String)