Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
javax.xml.parsers

Class DocumentBuilderFactory

java.lang.Object
|
+--javax.xml.parsers.DocumentBuilderFactory


public abstract class DocumentBuilderFactory

extends Object

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

Author:

Constructor Summary

DocumentBuilderFactory()

Method Summary

java.lang.ObjectgetAttribute(java.lang.String name)

booleanisCoalescing()

booleanisExpandEntityReferences()

booleanisIgnoringComments()

booleanisIgnoringElementContentWhitespace()

booleanisNamespaceAware()

booleanisValidating()

javax.xml.parsers.DocumentBuildernewDocumentBuilder()

static javax.xml.parsers.DocumentBuilderFactorynewInstance()

voidsetAttribute(java.lang.String name, java.lang.Object value)

voidsetCoalescing(boolean value)

voidsetExpandEntityReferences(boolean value)

voidsetIgnoringComments(boolean value)

voidsetIgnoringElementContentWhitespace(boolean value)

voidsetNamespaceAware(boolean value)

voidsetValidating(boolean value)

Constructor Details

DocumentBuilderFactory

protected DocumentBuilderFactory()


Method Details

getAttribute

public Object getAttribute(java.lang.String name)

Parameters:


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


newInstance

public static DocumentBuilderFactory newInstance()


setAttribute

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

Parameters:


setCoalescing

public void setCoalescing(boolean value)

Parameters:


setExpandEntityReferences

public void setExpandEntityReferences(boolean value)

Parameters:


setIgnoringComments

public void setIgnoringComments(boolean value)

Parameters:


setIgnoringElementContentWhitespace

public void setIgnoringElementContentWhitespace(boolean value)

Parameters:


setNamespaceAware

public void setNamespaceAware(boolean value)

Parameters:


setValidating

public void setValidating(boolean value)

Parameters: