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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentBuilderFactory
protected DocumentBuilderFactory()
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