Class DocumentBuilderFactoryImpl
- java.lang.Object
-
- javax.xml.parsers.DocumentBuilderFactory
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
-
public class DocumentBuilderFactoryImpl extends DocumentBuilderFactory
- Version:
- $Id$
- Author:
- Rajiv Mordani, Edwin Goei
-
-
Constructor Summary
Constructors Constructor Description DocumentBuilderFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetAttribute(String name)Allows the user to retrieve specific attributes on the underlying implementation.booleangetFeature(String name)SchemagetSchema()booleanisXIncludeAware()DocumentBuildernewDocumentBuilder()Creates 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)voidsetSchema(Schema grammar)voidsetXIncludeAware(boolean state)-
Methods inherited from class javax.xml.parsers.DocumentBuilderFactory
isCoalescing, isExpandEntityReferences, isIgnoringComments, isIgnoringElementContentWhitespace, isNamespaceAware, isValidating, newInstance, newInstance, setCoalescing, setExpandEntityReferences, setIgnoringComments, setIgnoringElementContentWhitespace, setNamespaceAware, setValidating
-
-
-
-
Method Detail
-
newDocumentBuilder
public DocumentBuilder newDocumentBuilder() throws ParserConfigurationException
Creates a new instance of aDocumentBuilderusing the currently configured parameters.- Specified by:
newDocumentBuilderin classDocumentBuilderFactory- Throws:
ParserConfigurationException
-
setAttribute
public void setAttribute(String name, Object value) throws IllegalArgumentException
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
public Object getAttribute(String name) throws IllegalArgumentException
Allows the user to retrieve specific attributes on the underlying implementation.- Specified by:
getAttributein classDocumentBuilderFactory- Throws:
IllegalArgumentException
-
getSchema
public Schema getSchema()
- Overrides:
getSchemain classDocumentBuilderFactory
-
setSchema
public void setSchema(Schema grammar)
- Overrides:
setSchemain classDocumentBuilderFactory
-
isXIncludeAware
public boolean isXIncludeAware()
- Overrides:
isXIncludeAwarein classDocumentBuilderFactory
-
setXIncludeAware
public void setXIncludeAware(boolean state)
- Overrides:
setXIncludeAwarein classDocumentBuilderFactory
-
getFeature
public boolean getFeature(String name) throws ParserConfigurationException
- Specified by:
getFeaturein classDocumentBuilderFactory- Throws:
ParserConfigurationException
-
setFeature
public void setFeature(String name, boolean value) throws ParserConfigurationException
- Specified by:
setFeaturein classDocumentBuilderFactory- Throws:
ParserConfigurationException
-
-