public class DocumentBuilderFactoryImpl extends DocumentBuilderFactory
| Modifier and Type | Field and Description |
|---|---|
static boolean |
SECURE_PROCESS_DEFAULT
State of the secure processing feature, initially
true |
| Constructor and Description |
|---|
DocumentBuilderFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name)
Allows the user to retrieve specific attributes on the underlying
implementation.
|
boolean |
getFeature(String name) |
Schema |
getSchema() |
boolean |
isXIncludeAware() |
DocumentBuilder |
newDocumentBuilder()
Creates a new instance of a
DocumentBuilder
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 |
setSchema(Schema grammar) |
void |
setXIncludeAware(boolean state) |
isCoalescing, isExpandEntityReferences, isIgnoringComments, isIgnoringElementContentWhitespace, isNamespaceAware, isValidating, newInstance, newInstance, setCoalescing, setExpandEntityReferences, setIgnoringComments, setIgnoringElementContentWhitespace, setNamespaceAware, setValidatingpublic static boolean SECURE_PROCESS_DEFAULT
truepublic DocumentBuilder newDocumentBuilder() throws ParserConfigurationException
DocumentBuilder
using the currently configured parameters.newDocumentBuilder in class DocumentBuilderFactoryParserConfigurationExceptionpublic void setAttribute(String name, Object value) throws IllegalArgumentException
setAttribute in class DocumentBuilderFactoryname - name of attributevalue - null means to remove attributeIllegalArgumentExceptionpublic Object getAttribute(String name) throws IllegalArgumentException
getAttribute in class DocumentBuilderFactoryIllegalArgumentExceptionpublic Schema getSchema()
getSchema in class DocumentBuilderFactorypublic void setSchema(Schema grammar)
setSchema in class DocumentBuilderFactorypublic boolean isXIncludeAware()
isXIncludeAware in class DocumentBuilderFactorypublic void setXIncludeAware(boolean state)
setXIncludeAware in class DocumentBuilderFactorypublic boolean getFeature(String name) throws ParserConfigurationException
getFeature in class DocumentBuilderFactoryParserConfigurationExceptionpublic void setFeature(String name, boolean value) throws ParserConfigurationException
setFeature in class DocumentBuilderFactoryParserConfigurationExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.