java.lang.Object | ||||
↳ | org.apache.xerces.util.ParserConfigurationSettings | |||
↳ | org.apache.xerces.parsers.BasicParserConfiguration | |||
↳ | org.apache.xerces.parsers.DTDConfiguration | |||
↳ | org.apache.xerces.parsers.StandardParserConfiguration |
Known Direct Subclasses |
This is the "standard" parser configuration. It extends the DTD configuration with the standard set of parser components. The standard set of parser components include those needed to parse and validate with DTD's, and those needed for XML Schema.
In addition to the features and properties recognized by the base parser configuration, this class recognizes these additional features and properties:
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | GENERATE_SYNTHETIC_ANNOTATIONS | Feature: generate synthetic annotations | |||||||||
String | HONOUR_ALL_SCHEMALOCATIONS | Feature identifier: honour all schemaLocations | |||||||||
String | IDENTITY_CONSTRAINT_CHECKING | Feature identifier: whether to ignore identity constraint errors | |||||||||
String | ID_IDREF_CHECKING | Feature identifier: whether to ignore ID/IDREF errors | |||||||||
String | IGNORE_XSI_TYPE | Feature identifier: whether to ignore xsi:type attributes until a global element declaration is encountered | |||||||||
String | NORMALIZE_DATA | Feature identifier: expose schema normalized value | |||||||||
String | ROOT_TYPE_DEF | Property identifier: root type definition. | |||||||||
String | SCHEMA_AUGMENT_PSVI | Feature identifier: augment PSVI | |||||||||
String | SCHEMA_ELEMENT_DEFAULT | Feature identifier: send element default value via characters() | |||||||||
String | SCHEMA_LOCATION | Property identifier: schema location. | |||||||||
String | SCHEMA_NONS_LOCATION | Property identifier: no namespace schema location. | |||||||||
String | SCHEMA_VALIDATOR | Property identifier: XML Schema validator. | |||||||||
String | UNPARSED_ENTITY_CHECKING | Feature identifier: whether to ignore unparsed entity errors | |||||||||
String | VALIDATE_ANNOTATIONS | Feature identifier: validate annotations | |||||||||
String | XMLSCHEMA_FULL_CHECKING | feature identifier: XML Schema validation -- full checking | |||||||||
String | XMLSCHEMA_VALIDATION | feature identifier: XML Schema validation |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.xerces.parsers.DTDConfiguration
| |||||||||||
From class
org.apache.xerces.parsers.BasicParserConfiguration
| |||||||||||
From class
org.apache.xerces.util.ParserConfigurationSettings
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
fSchemaValidator | XML Schema Validator. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.xerces.parsers.DTDConfiguration
| |||||||||||
From class
org.apache.xerces.parsers.BasicParserConfiguration
| |||||||||||
From class
org.apache.xerces.util.ParserConfigurationSettings
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default constructor.
| |||||||||||
Constructs a parser configuration using the specified symbol table.
| |||||||||||
Constructs a parser configuration using the specified symbol table and
grammar pool.
| |||||||||||
Constructs a parser configuration using the specified symbol table,
grammar pool, and parent settings.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Check a feature.
| |||||||||||
Check a property.
| |||||||||||
Configures the pipeline.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.xerces.parsers.DTDConfiguration
| |||||||||||
From class
org.apache.xerces.parsers.BasicParserConfiguration
| |||||||||||
From class
org.apache.xerces.util.ParserConfigurationSettings
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.apache.xerces.xni.parser.XMLComponentManager
| |||||||||||
From interface
org.apache.xerces.xni.parser.XMLParserConfiguration
| |||||||||||
From interface
org.apache.xerces.xni.parser.XMLPullParserConfiguration
|
Feature: generate synthetic annotations
Feature identifier: honour all schemaLocations
Feature identifier: whether to ignore identity constraint errors
Feature identifier: whether to ignore ID/IDREF errors
Feature identifier: whether to ignore xsi:type attributes until a global element declaration is encountered
Feature identifier: expose schema normalized value
Property identifier: root type definition.
Feature identifier: augment PSVI
Feature identifier: send element default value via characters()
Property identifier: schema location.
Property identifier: no namespace schema location.
Property identifier: XML Schema validator.
Feature identifier: whether to ignore unparsed entity errors
Feature identifier: validate annotations
feature identifier: XML Schema validation -- full checking
feature identifier: XML Schema validation
Default constructor.
Constructs a parser configuration using the specified symbol table.
symbolTable | The symbol table to use. |
---|
Constructs a parser configuration using the specified symbol table and grammar pool.
REVISIT: Grammar pool will be updated when the new validation engine is implemented.
symbolTable | The symbol table to use. |
---|---|
grammarPool | The grammar pool to use. |
Constructs a parser configuration using the specified symbol table, grammar pool, and parent settings.
REVISIT: Grammar pool will be updated when the new validation engine is implemented.
symbolTable | The symbol table to use. |
---|---|
grammarPool | The grammar pool to use. |
parentSettings | The parent settings. |
Check a feature. If feature is know and supported, this method simply returns. Otherwise, the appropriate exception is thrown.
featureId | The unique identifier (URI) of the feature. |
---|
XMLConfigurationException | Thrown for configuration error. In general, components should only throw this exception if it is really a critical error. |
---|
Check a property. If the property is know and supported, this method simply returns. Otherwise, the appropriate exception is thrown.
propertyId | The unique identifier (URI) of the property being set. |
---|
XMLConfigurationException | Thrown for configuration error. In general, components should only throw this exception if it is really a critical error. |
---|
Configures the pipeline.