javax.xml.parsers

Class DocumentBuilderFactory

public abstract class DocumentBuilderFactory extends Object

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

Version: $Id: DocumentBuilderFactory.java,v 1.6 2001/11/02 21:40:25 db Exp $

Author: Andrew Selkirk, David Brownell

Constructor Summary
protected DocumentBuilderFactory()
Method Summary
abstract ObjectgetAttribute(String name)
booleanisCoalescing()
booleanisExpandEntityReferences()
booleanisIgnoringComments()
booleanisIgnoringElementContentWhitespace()
booleanisNamespaceAware()
booleanisValidating()
abstract DocumentBuildernewDocumentBuilder()
static DocumentBuilderFactorynewInstance()
abstract voidsetAttribute(String name, Object value)
voidsetCoalescing(boolean value)
voidsetExpandEntityReferences(boolean value)
voidsetIgnoringComments(boolean value)
voidsetIgnoringElementContentWhitespace(boolean value)
voidsetNamespaceAware(boolean value)
voidsetValidating(boolean value)

Constructor Detail

DocumentBuilderFactory

protected DocumentBuilderFactory()

Method Detail

getAttribute

public abstract Object getAttribute(String name)

isCoalescing

public boolean isCoalescing()

isExpandEntityReferences

public boolean isExpandEntityReferences()

isIgnoringComments

public boolean isIgnoringComments()

isIgnoringElementContentWhitespace

public boolean isIgnoringElementContentWhitespace()

isNamespaceAware

public boolean isNamespaceAware()

isValidating

public boolean isValidating()

newDocumentBuilder

public abstract DocumentBuilder newDocumentBuilder()

newInstance

public static DocumentBuilderFactory newInstance()

setAttribute

public abstract void setAttribute(String name, Object value)

setCoalescing

public void setCoalescing(boolean value)

setExpandEntityReferences

public void setExpandEntityReferences(boolean value)

setIgnoringComments

public void setIgnoringComments(boolean value)

setIgnoringElementContentWhitespace

public void setIgnoringElementContentWhitespace(boolean value)

setNamespaceAware

public void setNamespaceAware(boolean value)

setValidating

public void setValidating(boolean value)

Source code is under GPL (with library exception) in the JAXP project at http://www.gnu.org/software/classpathx/jaxp
This documentation was derived from that source code on 2013-01-12.