javax.xml.parsers
Class DocumentBuilder
java.lang.Object
|
+--javax.xml.parsers.DocumentBuilder
- public abstract class DocumentBuilder
- extends java.lang.Object
DocumentBuilder
- Version:
- 1.0
- Author:
- Andrew Selkirk
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentBuilder
protected DocumentBuilder()
parse
public Document parse(java.io.InputStream stream)
throws SAXException,
java.io.IOException
- Avoid using this call; provide the system ID wherever possible.
System IDs are essential when parsers resolve relative URIs,
or provide diagnostics.
parse
public Document parse(java.io.InputStream stream,
java.lang.String systemID)
throws SAXException,
java.io.IOException
parse
public Document parse(java.lang.String uri)
throws SAXException,
java.io.IOException
parse
public Document parse(java.io.File file)
throws SAXException,
java.io.IOException
parse
public abstract Document parse(InputSource source)
throws SAXException,
java.io.IOException
isNamespaceAware
public abstract boolean isNamespaceAware()
isValidating
public abstract boolean isValidating()
setEntityResolver
public abstract void setEntityResolver(EntityResolver resolver)
setErrorHandler
public abstract void setErrorHandler(ErrorHandler handler)
newDocument
public abstract Document newDocument()