javax.xml.parsers
Class DocumentBuilderFactory

java.lang.Object
  |
  +--javax.xml.parsers.DocumentBuilderFactory
Direct Known Subclasses:
JAXPFactory

public abstract class DocumentBuilderFactory
extends java.lang.Object

DocumentBuilderFactory is used to resolve the problem that the W3C DOM APIs don't include portable bootstrapping.

Version:
1.0
Author:
Andrew Selkirk

Constructor Summary
protected DocumentBuilderFactory()
           
 
Method Summary
abstract  java.lang.Object getAttribute(java.lang.String name)
           
 boolean isCoalescing()
           
 boolean isExpandEntityReferences()
           
 boolean isIgnoringComments()
           
 boolean isIgnoringElementContentWhitespace()
           
 boolean isNamespaceAware()
           
 boolean isValidating()
           
abstract  DocumentBuilder newDocumentBuilder()
           
static DocumentBuilderFactory newInstance()
           
abstract  void setAttribute(java.lang.String name, java.lang.Object value)
           
 void setCoalescing(boolean value)
           
 void setExpandEntityReferences(boolean value)
           
 void setIgnoringComments(boolean value)
           
 void setIgnoringElementContentWhitespace(boolean value)
           
 void setNamespaceAware(boolean value)
           
 void setValidating(boolean value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentBuilderFactory

protected DocumentBuilderFactory()
Method Detail

newInstance

public static DocumentBuilderFactory newInstance()

newDocumentBuilder

public abstract DocumentBuilder newDocumentBuilder()
                                            throws ParserConfigurationException

setNamespaceAware

public void setNamespaceAware(boolean value)

setValidating

public void setValidating(boolean value)

setIgnoringElementContentWhitespace

public void setIgnoringElementContentWhitespace(boolean value)

setExpandEntityReferences

public void setExpandEntityReferences(boolean value)

setIgnoringComments

public void setIgnoringComments(boolean value)

setCoalescing

public void setCoalescing(boolean value)

isNamespaceAware

public boolean isNamespaceAware()

isValidating

public boolean isValidating()

isIgnoringElementContentWhitespace

public boolean isIgnoringElementContentWhitespace()

isExpandEntityReferences

public boolean isExpandEntityReferences()

isIgnoringComments

public boolean isIgnoringComments()

isCoalescing

public boolean isCoalescing()

setAttribute

public abstract void setAttribute(java.lang.String name,
                                  java.lang.Object value)
                           throws java.lang.IllegalArgumentException

getAttribute

public abstract java.lang.Object getAttribute(java.lang.String name)
                                       throws java.lang.IllegalArgumentException

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.