| Modifier and Type | Field and Description |
|---|---|
| private Hashtable | attributes
These are DocumentBuilderFactory attributes not DOM attributes |
| private static final String | CREATE_CDATA_NODES_FEATURE
Feature identifier: create cdata nodes feature. |
| private static final String | CREATE_ENTITY_REF_NODES_FEATURE
Feature identifier: create entiry ref nodes feature. |
| private Hashtable | |
| private boolean | fSecureProcess
State of the secure processing feature, initially |
| private Schema | |
| private static final String | INCLUDE_COMMENTS_FEATURE
Feature identifier: include comments feature. |
| private static final String | INCLUDE_IGNORABLE_WHITESPACE
Feature identifier: include ignorable white space. |
| private boolean | |
| private static final String | NAMESPACES_FEATURE
Feature identifier: namespaces. |
| private static final String | VALIDATION_FEATURE
Feature identifier: validation |
| private static final String | XINCLUDE_FEATURE
Feature identifier: XInclude processing |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | getAttribute(String
The name of the attribute. name)Implements abstract javax. |
| public boolean | getFeature(String
Feature name. name)Implements abstract javax. |
| public Schema | getSchema()
Overrides javax. Schema object specified through
the setSchema(Schema schema) method.
|
| public boolean | isXIncludeAware()
Overrides javax. |
| public DocumentBuilder | newDocumentBuilder()
Implements abstract javax. javax.
using the currently configured parameters.
|
| public void | setAttribute(String
name of attribute name, Object null means to remove attribute value)Implements abstract javax. |
| public void | setFeature(String
Feature name. name, boolean Is feature state value)true or false.Implements abstract javax. DocumentBuilderFactory
and DocumentBuilders created by this factory.
|
| public void | setSchema(Schema
Schema to use or null
to remove a schema.Overrides javax. Schema to be used by parsers created
from this factory.
|
| public void | setXIncludeAware(boolean
Set XInclude processing to state)true or
falseOverrides javax. |
| attributes | back to summary |
|---|---|
| private Hashtable<K, V> attributes These are DocumentBuilderFactory attributes not DOM attributes | |
| CREATE_CDATA_NODES_FEATURE | back to summary |
|---|---|
| private static final String CREATE_CDATA_NODES_FEATURE Feature identifier: create cdata nodes feature. | |
| CREATE_ENTITY_REF_NODES_FEATURE | back to summary |
|---|---|
| private static final String CREATE_ENTITY_REF_NODES_FEATURE Feature identifier: create entiry ref nodes feature. | |
| features | back to summary |
|---|---|
| private Hashtable<K, V> features | |
| fSecureProcess | back to summary |
|---|---|
| private boolean fSecureProcess State of the secure processing feature, initially | |
| grammar | back to summary |
|---|---|
| private Schema grammar | |
| INCLUDE_COMMENTS_FEATURE | back to summary |
|---|---|
| private static final String INCLUDE_COMMENTS_FEATURE Feature identifier: include comments feature. | |
| INCLUDE_IGNORABLE_WHITESPACE | back to summary |
|---|---|
| private static final String INCLUDE_IGNORABLE_WHITESPACE Feature identifier: include ignorable white space. | |
| isXIncludeAware | back to summary |
|---|---|
| private boolean isXIncludeAware | |
| NAMESPACES_FEATURE | back to summary |
|---|---|
| private static final String NAMESPACES_FEATURE Feature identifier: namespaces. | |
| VALIDATION_FEATURE | back to summary |
|---|---|
| private static final String VALIDATION_FEATURE Feature identifier: validation | |
| XINCLUDE_FEATURE | back to summary |
|---|---|
| private static final String XINCLUDE_FEATURE Feature identifier: XInclude processing | |
| DocumentBuilderFactoryImpl | back to summary |
|---|---|
| public DocumentBuilderFactoryImpl() | |
| getAttribute | back to summary |
|---|---|
| public Object getAttribute(String name) throws IllegalArgumentException Implements abstract javax. Allows the user to retrieve specific attributes on the underlying implementation.
| |
| getFeature | back to summary |
|---|---|
| public boolean getFeature(String name) throws ParserConfigurationException Implements abstract javax. Doc from javax. Get the state of the named feature.
Feature names are fully qualified
| |
| getSchema | back to summary |
|---|---|
| public Schema getSchema() Overrides javax. Doc from javax. Gets the
| |
| isXIncludeAware | back to summary |
|---|---|
| public boolean isXIncludeAware() Overrides javax. Doc from javax. Get state of XInclude processing.
| |
| newDocumentBuilder | back to summary |
|---|---|
| public DocumentBuilder newDocumentBuilder() throws ParserConfigurationException Implements abstract javax. Creates a new instance of a
| |
| setAttribute | back to summary |
|---|---|
| public void setAttribute(String name, Object value) throws IllegalArgumentException Implements abstract javax. Allows the user to set specific attributes on the underlying implementation.
| |
| setFeature | back to summary |
|---|---|
| public void setFeature(String name, boolean value) throws ParserConfigurationException Implements abstract javax. Doc from javax. Set a feature for this
Feature names are fully qualified
All implementations are required to support the
| |
| setSchema | back to summary |
|---|---|
| public void setSchema(Schema grammar) Overrides javax. Doc from javax. Set the
When a When errors are found by the validator, the parser is responsible
to report them to the user-specified A validator may modify the outcome of a parse (for example by adding default values that were missing in documents), and a parser is responsible to make sure that the application will receive modified DOM trees.
Initially, null is set as the
This processing will take effect even if
the It is an error to use
the Note for implementors
A parser must be able to work with any
| |
| setXIncludeAware | back to summary |
|---|---|
| public void setXIncludeAware(boolean state) Overrides javax. Doc from javax. Set state of XInclude processing. If XInclude markup is found in the document instance, should it be processed as specified in XML Inclusions (XInclude) Version 1.0. XInclude processing defaults to
| |