Modifier and Type | Field and Description |
---|---|
public static final String | ACCESS_EXTERNAL_DTD
property identifier: access external dtd. |
public static final String | ACCESS_EXTERNAL_SCHEMA
Property identifier: access to external schema |
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 XMLSecurityManager | |
private XMLSecurityPropertyManager | |
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 | XML_SECURITY_PROPERTY_MANAGER
Property identifier: Security property manager. |
private static final String | XMLSCHEMA_VALIDATION_FEATURE
feature identifier: XML Schema validation |
Access | Constructor and Description |
---|---|
pack-priv | DocumentBuilderImpl(DocumentBuilderFactoryImpl dbf, Map<String, Object> dbfAttrs, Map<String, Boolean> features)
|
pack-priv | DocumentBuilderImpl(DocumentBuilderFactoryImpl dbf, Map<String, Object> dbfAttrs, Map<String, Boolean> features, boolean secureProcessing)
|
Modifier and Type | Method and Description |
---|---|
public DOMImplementation | getDOMImplementation()
Implements abstract javax. Obtain an instance of a |
pack-priv DOMParser | |
public Schema | getSchema()
Overrides javax. Get a reference to the |
public boolean | isNamespaceAware()
Implements abstract javax. Indicates whether or not this parser is configured to understand namespaces. |
public boolean | isValidating()
Implements abstract javax. Indicates whether or not this parser is configured to validate XML documents. |
public boolean | Returns: the state of XInclude processing modeOverrides javax. Gets the XInclude processing mode for this parser |
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. |
public Document | parse(InputSource
InputSource containing the content to be parsed. is)Implements abstract javax. Parse the content of the given input source as an XML document
and return a new DOM |
public void | reset()
Overrides javax. Reset this |
private void | |
private void | setDocumentBuilderFactoryAttributes(Map<String, Object> 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. Specify the |
public void | setErrorHandler(ErrorHandler
The eh)ErrorHandler to be used by the parser.Implements abstract javax. Specify the |
private void |
ACCESS_EXTERNAL_DTD | back to summary |
---|---|
public static final String ACCESS_EXTERNAL_DTD property identifier: access external dtd. |
ACCESS_EXTERNAL_SCHEMA | back to summary |
---|---|
public static final String ACCESS_EXTERNAL_SCHEMA Property identifier: access to external schema |
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 |
fSecurityManager | back to summary |
---|---|
private XMLSecurityManager fSecurityManager |
fSecurityPropertyMgr | back to summary |
---|---|
private XMLSecurityPropertyManager fSecurityPropertyMgr |
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 |
XML_SECURITY_PROPERTY_MANAGER | back to summary |
---|---|
private static final String XML_SECURITY_PROPERTY_MANAGER Property identifier: Security property manager. |
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, Map<String, Object> dbfAttrs, Map<String, Boolean> features) throws SAXNotRecognizedException, SAXNotSupportedException |
DocumentBuilderImpl | back to summary |
---|---|
pack-priv DocumentBuilderImpl(DocumentBuilderFactoryImpl dbf, Map<String, Object> dbfAttrs, Map<String, Boolean> 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(Map<String, Object> 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(Map<String, Boolean> features) throws SAXNotSupportedException, SAXNotRecognizedException |