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

Constructor Summary
protected DocumentBuilder()
           
 
Method Summary
abstract  boolean isNamespaceAware()
           
abstract  boolean isValidating()
           
abstract  Document newDocument()
           
 Document parse(java.io.File file)
           
abstract  Document parse(InputSource source)
           
 Document parse(java.io.InputStream stream)
          Avoid using this call; provide the system ID wherever possible.
 Document parse(java.io.InputStream stream, java.lang.String systemID)
           
 Document parse(java.lang.String uri)
           
abstract  void setEntityResolver(EntityResolver resolver)
           
abstract  void setErrorHandler(ErrorHandler handler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentBuilder

protected DocumentBuilder()
Method Detail

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()

Source code is GPL'd in the JAXP subproject at http://savannah.gnu.org/projects/classpathx
This documentation was derived from that source code on 2001-07-12.