API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.parsers. DocumentBuilder View Source
Author(s)
Jeff Suttor
Since
Version
$Revision: 1.5 $, $Date: 2005/11/21 05:57:14 $
Serial
Hierarchy
 Object
      DocumentBuilder
Implements
Subclasses
Description
publicabstract abstract class DocumentBuilder
  Defines the API to obtain DOM Document instances from an XML document.
See also:   
Constructors
protected DocumentBuilder ()
Protected constructor
Methods
Hide/Show inherited methods
publicabstract DOMImplementation getDOMImplementation ()
  Obtain an instance of a DOMImplementation object.
public Schema getSchema ()
  Get a reference to the the Schema being used by the XML processor.
publicabstract boolean isNamespaceAware ()
  Indicates whether or not this parser is configured to understand namespaces.
publicabstract boolean isValidating ()
  Indicates whether or not this parser is configured to validate XML documents.
public boolean isXIncludeAware ()
  Get the XInclude processing mode for this parser.
publicabstract Document newDocument ()
  Obtain a new instance of a DOM Document object to build a DOM tree with.
public Document parse (File f) throws SAXException IOException
  Parse the content of the given file as an XML document and return a new DOM Document object.
publicabstract Document parse (InputSource is) throws SAXException IOException
  Parse the content of the given input source as an XML document and return a new DOM Document object.
public Document parse (InputStream is) throws SAXException IOException
  Parse the content of the given InputStream as an XML document and return a new DOM Document object.
public Document parse (InputStream is, String systemId) throws SAXException IOException
  Parse the content of the given InputStream as an XML document and return a new DOM Document object.
public Document parse (String uri) throws SAXException IOException
  Parse the content of the given URI as an XML document and return a new DOM Document object.
public void reset ()
  Reset this DocumentBuilder to its original configuration.
publicabstract void setEntityResolver (EntityResolver er)
  Specify the EntityResolver to be used to resolve entities present in the XML document to be parsed.
publicabstract void setErrorHandler (ErrorHandler eh)
  Specify the ErrorHandler to be used by the parser.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar