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, setValidating
public static boolean SECURE_PROCESS_DEFAULT
true
public DocumentBuilder newDocumentBuilder() throws ParserConfigurationException
DocumentBuilder
using the currently configured parameters.newDocumentBuilder
in class DocumentBuilderFactory
ParserConfigurationException
public void setAttribute(String name, Object value) throws IllegalArgumentException
setAttribute
in class DocumentBuilderFactory
name
- name of attributevalue
- null means to remove attributeIllegalArgumentException
public Object getAttribute(String name) throws IllegalArgumentException
getAttribute
in class DocumentBuilderFactory
IllegalArgumentException
public Schema getSchema()
getSchema
in class DocumentBuilderFactory
public void setSchema(Schema grammar)
setSchema
in class DocumentBuilderFactory
public boolean isXIncludeAware()
isXIncludeAware
in class DocumentBuilderFactory
public void setXIncludeAware(boolean state)
setXIncludeAware
in class DocumentBuilderFactory
public boolean getFeature(String name) throws ParserConfigurationException
getFeature
in class DocumentBuilderFactory
ParserConfigurationException
public void setFeature(String name, boolean value) throws ParserConfigurationException
setFeature
in class DocumentBuilderFactory
ParserConfigurationException
Copyright © 2018 JBoss by Red Hat. All rights reserved.