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.boolean
getFeature
(String name) boolean
Creates a new instance of aDocumentBuilder
using the currently configured parameters.void
setAttribute
(String name, Object value) Allows the user to set specific attributes on the underlying implementation.void
setFeature
(String name, boolean value) void
void
setXIncludeAware
(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 aDocumentBuilder
using the currently configured parameters.- Specified by:
newDocumentBuilder
in classDocumentBuilderFactory
- Throws:
ParserConfigurationException
-
setAttribute
Allows the user to set specific attributes on the underlying implementation.- Specified by:
setAttribute
in 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:
getAttribute
in classDocumentBuilderFactory
- Throws:
IllegalArgumentException
-
getSchema
- Overrides:
getSchema
in classDocumentBuilderFactory
-
setSchema
- Overrides:
setSchema
in classDocumentBuilderFactory
-
isXIncludeAware
public boolean isXIncludeAware()- Overrides:
isXIncludeAware
in classDocumentBuilderFactory
-
setXIncludeAware
public void setXIncludeAware(boolean state) - Overrides:
setXIncludeAware
in classDocumentBuilderFactory
-
getFeature
- Specified by:
getFeature
in classDocumentBuilderFactory
- Throws:
ParserConfigurationException
-
setFeature
- Specified by:
setFeature
in classDocumentBuilderFactory
- Throws:
ParserConfigurationException
-