net.sf.saxon.dom
Class DocumentBuilderImpl
java.lang.Object
javax.xml.parsers.DocumentBuilder
net.sf.saxon.dom.DocumentBuilderImpl
- public class DocumentBuilderImpl
- extends DocumentBuilder
This class implements the JAXP DocumentBuilder interface, allowing a Saxon TinyTree to be
constructed using standard JAXP parsing interfaces. Note that although the TinyTree
implements the DOM interfaces, it is read-only, and all attempts to update it will throw
an exception. No schema or DTD validation is carried out on the document.
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()
isValidating
public boolean isValidating()
newDocument
public Document newDocument()
parse
public Document parse(InputSource in)
throws SAXException
- Throws:
SAXException
setEntityResolver
public void setEntityResolver(EntityResolver er)
setErrorHandler
public void setErrorHandler(ErrorHandler eh)
getDOMImplementation
public DOMImplementation getDOMImplementation()