| Modifier and Type | Field and Description |
|---|---|
| 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 final DOMParser | |
| private final EntityResolver | fInitEntityResolver
Initial EntityResolver |
| private final ErrorHandler | fInitErrorHandler
Initial ErrorHandler |
| private final ValidationManager | |
| private final XMLComponent | |
| private final XMLComponentManager | |
| private final UnparsedEntityHandler | |
| private final 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 static final String | NAMESPACES_FEATURE
Feature identifier: namespaces. |
| private static final String | SECURITY_MANAGER
Property identifier: security manager. |
| private static final String | VALIDATION_FEATURE
Feature identifier: validation |
| private static final String | XINCLUDE_FEATURE
Feature identifier: XInclude processing |
| private static final String | XMLSCHEMA_VALIDATION_FEATURE
feature identifier: XML Schema validation |
| Access | Constructor and Description |
|---|---|
| pack-priv | DocumentBuilderImpl(DocumentBuilderFactoryImpl dbf, Hashtable<K, V> dbfAttrs, Hashtable<K, V> features)
|
| pack-priv | DocumentBuilderImpl(DocumentBuilderFactoryImpl dbf, Hashtable<K, V> dbfAttrs, Hashtable<K, V> features, boolean secureProcessing)
|
| Modifier and Type | Method and Description |
|---|---|
| public DOMImplementation | getDOMImplementation()
Implements abstract javax. DOMImplementation object.
|
| pack-priv DOMParser | |
| public Schema | getSchema()
Overrides javax. Get a reference to the |
| public boolean | isNamespaceAware()
Implements abstract javax. |
| public boolean | isValidating()
Implements abstract javax. |
| public boolean | Returns: the state of XInclude processing modeOverrides javax. |
| public Document | newDocument()
Implements abstract javax. |
| public Document | parse(InputSource
InputSource containing the content to be parsed. is)Implements abstract javax. Document object.
|
| public void | reset()
Overrides javax. Reset this |
| private void | |
| private void | setDocumentBuilderFactoryAttributes(Hashtable<K, V> dbfAttrs)
Set any DocumentBuilderFactory attributes of our underlying DOMParser Note: code does not handle possible conflicts between DOMParser attribute names and JAXP specific attribute names, eg. |
| public void | setEntityResolver(EntityResolver
The er)EntityResolver to be used to resolve entities
present in the XML document to be parsed.Implements abstract javax. EntityResolver to be used to resolve
entities present in the XML document to be parsed.
|
| public void | setErrorHandler(ErrorHandler
The eh)ErrorHandler to be used by the parser.Implements abstract javax. ErrorHandler to be used by the parser.
|
| private void |
| 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. | |
| domParser | back to summary |
|---|---|
| private final DOMParser domParser | |
| fInitEntityResolver | back to summary |
|---|---|
| private final EntityResolver fInitEntityResolver Initial EntityResolver | |
| fInitErrorHandler | back to summary |
|---|---|
| private final ErrorHandler fInitErrorHandler Initial ErrorHandler | |
| fSchemaValidationManager | back to summary |
|---|---|
| private final ValidationManager fSchemaValidationManager | |
| fSchemaValidator | back to summary |
|---|---|
| private final XMLComponent fSchemaValidator | |
| fSchemaValidatorComponentManager | back to summary |
|---|---|
| private final XMLComponentManager fSchemaValidatorComponentManager | |
| fUnparsedEntityHandler | back to summary |
|---|---|
| private final UnparsedEntityHandler fUnparsedEntityHandler | |
| grammar | back to summary |
|---|---|
| private final 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. | |
| NAMESPACES_FEATURE | back to summary |
|---|---|
| private static final String NAMESPACES_FEATURE Feature identifier: namespaces. | |
| SECURITY_MANAGER | back to summary |
|---|---|
| private static final String SECURITY_MANAGER Property identifier: security manager. | |
| 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 | |
| XMLSCHEMA_VALIDATION_FEATURE | back to summary |
|---|---|
| private static final String XMLSCHEMA_VALIDATION_FEATURE feature identifier: XML Schema validation | |
| DocumentBuilderImpl | back to summary |
|---|---|
| pack-priv DocumentBuilderImpl(DocumentBuilderFactoryImpl dbf, Hashtable<K, V> dbfAttrs, Hashtable<K, V> features) throws SAXNotRecognizedException, SAXNotSupportedException | |
| DocumentBuilderImpl | back to summary |
|---|---|
| pack-priv DocumentBuilderImpl(DocumentBuilderFactoryImpl dbf, Hashtable<K, V> dbfAttrs, Hashtable<K, V> features, boolean secureProcessing) throws SAXNotRecognizedException, SAXNotSupportedException | |
| getDOMImplementation | back to summary |
|---|---|
| public DOMImplementation getDOMImplementation() Implements abstract javax. Doc from javax. Obtain an instance of a
| |
| getDOMParser | back to summary |
|---|---|
| pack-priv DOMParser getDOMParser() | |
| getSchema | back to summary |
|---|---|
| public Schema getSchema() Overrides javax. Doc from javax. Get a reference to the If no schema is being used, | |
| isNamespaceAware | back to summary |
|---|---|
| public boolean isNamespaceAware() Implements abstract javax. Doc from javax. Indicates whether or not this parser is configured to understand namespaces.
| |
| isValidating | back to summary |
|---|---|
| public boolean isValidating() Implements abstract javax. Doc from javax. Indicates whether or not this parser is configured to validate XML documents.
| |
| isXIncludeAware | back to summary |
|---|---|
| public boolean isXIncludeAware() Overrides javax. Gets the XInclude processing mode for this parser
| |
| newDocument | back to summary |
|---|---|
| public Document newDocument() Implements abstract javax. Non-preferred: use the getDOMImplementation() method instead of this one to get a DOM Level 2 DOMImplementation object and then use DOM Level 2 methods to create a DOM Document object.
| |
| parse | back to summary |
|---|---|
| public Document parse(InputSource is) throws SAXException, IOException Implements abstract javax. Doc from javax. Parse the content of the given input source as an XML document
and return a new DOM
| |
| reset | back to summary |
|---|---|
| public void reset() Overrides javax. Doc from javax. Reset this
The reset | |
| resetSchemaValidator | back to summary |
|---|---|
| private void resetSchemaValidator() throws SAXException | |
| setDocumentBuilderFactoryAttributes | back to summary |
|---|---|
| private void setDocumentBuilderFactoryAttributes(Hashtable<K, V> dbfAttrs) throws SAXNotSupportedException, SAXNotRecognizedException Set any DocumentBuilderFactory attributes of our underlying DOMParser Note: code does not handle possible conflicts between DOMParser attribute names and JAXP specific attribute names, eg. DocumentBuilderFactory.setValidating() | |
| setEntityResolver | back to summary |
|---|---|
| public void setEntityResolver(EntityResolver er) Implements abstract javax. Doc from javax. Specify the
| |
| setErrorHandler | back to summary |
|---|---|
| public void setErrorHandler(ErrorHandler eh) Implements abstract javax. Doc from javax. Specify the
| |
| setFeatures | back to summary |
|---|---|
| private void setFeatures(Hashtable<K, V> features) throws SAXNotSupportedException, SAXNotRecognizedException | |