javax.xml.parsers.SAXParserFactory. This is the platform
default implementation for the platform.
| Modifier and Type | Field and Description |
|---|---|
| private Hashtable | |
| private boolean | fSecureProcess
State of the secure processing feature, initially |
| private Schema | |
| 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 boolean | getFeature(String
The name of the property to be retrieved. name)Implements abstract javax. |
| public Schema | getSchema()
Overrides javax. Schema object specified through
the setSchema(Schema schema) method.
|
| public boolean | isXIncludeAware()
Overrides javax. |
| public SAXParser | Returns: javax.xml.parsers.SAXParserImplements abstract javax. SAXParser using the currently
configured factory parameters.
|
| private SAXParserImpl | |
| public void | setFeature(String
The name of the feature to be set. name, boolean The value of the feature to be set. value)Implements abstract javax. |
| public void | setSchema(Schema
Schema to use, 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. |
| 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 | |
| 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 | |
| SAXParserFactoryImpl | back to summary |
|---|---|
| public SAXParserFactoryImpl() | |
| getFeature | back to summary |
|---|---|
| public boolean getFeature(String name) throws ParserConfigurationException, SAXNotRecognizedException, SAXNotSupportedException Implements abstract javax. returns the particular property requested for in the underlying implementation of org.xml.sax.XMLReader.
| |
| 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.
| |
| newSAXParser | back to summary |
|---|---|
| public SAXParser newSAXParser() throws ParserConfigurationException Implements abstract javax. Creates a new instance of
| |
| newSAXParserImpl | back to summary |
|---|---|
| private SAXParserImpl newSAXParserImpl() throws ParserConfigurationException, SAXNotRecognizedException, SAXNotSupportedException Common code for translating exceptions | |
| setFeature | back to summary |
|---|---|
| public void setFeature(String name, boolean value) throws ParserConfigurationException, SAXNotRecognizedException, SAXNotSupportedException Implements abstract javax. Sets the particular feature in the underlying implementation of org.xml.sax.XMLReader.
| |
| setSchema | back to summary |
|---|---|
| public void setSchema(Schema grammar) Overrides javax. Doc from javax. Set the When a When warnings/errors/fatal errors are found by the validator, the parser must
handle them as if those errors were found by the parser itself.
In other words, if the user-specified A validator may modify the SAX event stream (for example by adding default values that were missing in documents), and a parser is responsible to make sure that the application will receive those modified event stream. Initially, 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
| |