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