org.apache.axis2.om.impl.dom.jaxp
Class DocumentBuilderImpl
java.lang.Object
javax.xml.parsers.DocumentBuilder
org.apache.axis2.om.impl.dom.jaxp.DocumentBuilderImpl
- public class DocumentBuilderImpl
- extends DocumentBuilder
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.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)