javax.xml.parsers
Class DocumentBuilderFactory
java.lang.Object
|
+--javax.xml.parsers.DocumentBuilderFactory
public abstract class
DocumentBuilderFactoryextends
Object DocumentBuilderFactory is used to resolve the problem that the
W3C DOM APIs don't include portable bootstrapping.
Author:- Andrew Selkirk, David Brownell
DocumentBuilderFactory
protected DocumentBuilderFactory()
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: