Package org.apache.xerces.jaxp
Class DocumentBuilderFactoryImpl
java.lang.Object
javax.xml.parsers.DocumentBuilderFactory
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
- Version:
- $Id: DocumentBuilderFactoryImpl.java 447237 2006-09-18 05:03:10Z mrglavas $
- Author:
- Rajiv Mordani, Edwin Goei
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String name) Allows the user to retrieve specific attributes on the underlying implementation.booleangetFeature(String name) booleanCreates a new instance of aDocumentBuilderusing the currently configured parameters.voidsetAttribute(String name, Object value) Allows the user to set specific attributes on the underlying implementation.voidsetFeature(String name, boolean value) voidvoidsetXIncludeAware(boolean state) Methods inherited from class javax.xml.parsers.DocumentBuilderFactory
isCoalescing, isExpandEntityReferences, isIgnoringComments, isIgnoringElementContentWhitespace, isNamespaceAware, isValidating, newDefaultInstance, newDefaultNSInstance, newInstance, newInstance, newNSInstance, newNSInstance, setCoalescing, setExpandEntityReferences, setIgnoringComments, setIgnoringElementContentWhitespace, setNamespaceAware, setValidating
-
Constructor Details
-
DocumentBuilderFactoryImpl
public DocumentBuilderFactoryImpl()
-
-
Method Details
-
newDocumentBuilder
Creates a new instance of aDocumentBuilderusing the currently configured parameters.- Specified by:
newDocumentBuilderin classDocumentBuilderFactory- Throws:
ParserConfigurationException
-
setAttribute
Allows the user to set specific attributes on the underlying implementation.- Specified by:
setAttributein classDocumentBuilderFactory- Parameters:
name- name of attributevalue- null means to remove attribute- Throws:
IllegalArgumentException
-
getAttribute
Allows the user to retrieve specific attributes on the underlying implementation.- Specified by:
getAttributein classDocumentBuilderFactory- Throws:
IllegalArgumentException
-
getSchema
- Overrides:
getSchemain classDocumentBuilderFactory
-
setSchema
- Overrides:
setSchemain classDocumentBuilderFactory
-
isXIncludeAware
public boolean isXIncludeAware()- Overrides:
isXIncludeAwarein classDocumentBuilderFactory
-
setXIncludeAware
public void setXIncludeAware(boolean state) - Overrides:
setXIncludeAwarein classDocumentBuilderFactory
-
getFeature
- Specified by:
getFeaturein classDocumentBuilderFactory- Throws:
ParserConfigurationException
-
setFeature
- Specified by:
setFeaturein classDocumentBuilderFactory- Throws:
ParserConfigurationException
-