| |
|
| org.apache.xerces.parsers.BasicParserConfiguration org.apache.xerces.parsers.DTDConfiguration org.apache.xerces.parsers.StandardParserConfiguration
All known Subclasses: org.apache.xerces.parsers.IntegratedParserConfiguration,
StandardParserConfiguration | public class StandardParserConfiguration extends DTDConfiguration (Code) | | 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:
- Features
- http://apache.org/xml/features/validation/schema
- http://apache.org/xml/features/validation/schema-full-checking
- http://apache.org/xml/features/validation/schema/normalized-value
- http://apache.org/xml/features/validation/schema/element-default
- Properties
- http://apache.org/xml/properties/internal/error-reporter
- http://apache.org/xml/properties/internal/entity-manager
- http://apache.org/xml/properties/internal/document-scanner
- http://apache.org/xml/properties/internal/dtd-scanner
- http://apache.org/xml/properties/internal/grammar-pool
- http://apache.org/xml/properties/internal/validator/dtd
- http://apache.org/xml/properties/internal/datatype-validator-factory
author: Arnaud Le Hors, IBM author: Andy Clark, IBM version: $Id: StandardParserConfiguration.java 447239 2006-09-18 05:08:26Z mrglavas $ |
GENERATE_SYNTHETIC_ANNOTATIONS | final protected static String GENERATE_SYNTHETIC_ANNOTATIONS(Code) | | Feature: generate synthetic annotations
|
HONOUR_ALL_SCHEMALOCATIONS | final protected static String HONOUR_ALL_SCHEMALOCATIONS(Code) | | Feature identifier: honour all schemaLocations
|
IDENTITY_CONSTRAINT_CHECKING | final protected static String IDENTITY_CONSTRAINT_CHECKING(Code) | | Feature identifier: whether to ignore identity constraint errors
|
ID_IDREF_CHECKING | final protected static String ID_IDREF_CHECKING(Code) | | Feature identifier: whether to ignore ID/IDREF errors
|
IGNORE_XSI_TYPE | final protected static String IGNORE_XSI_TYPE(Code) | | Feature identifier: whether to ignore xsi:type attributes until a global element declaration is encountered
|
NORMALIZE_DATA | final protected static String NORMALIZE_DATA(Code) | | Feature identifier: expose schema normalized value
|
ROOT_TYPE_DEF | final protected static String ROOT_TYPE_DEF(Code) | | Property identifier: root type definition.
|
SCHEMA_AUGMENT_PSVI | final protected static String SCHEMA_AUGMENT_PSVI(Code) | | Feature identifier: augment PSVI
|
SCHEMA_ELEMENT_DEFAULT | final protected static String SCHEMA_ELEMENT_DEFAULT(Code) | | Feature identifier: send element default value via characters()
|
SCHEMA_LOCATION | final protected static String SCHEMA_LOCATION(Code) | | Property identifier: schema location.
|
SCHEMA_NONS_LOCATION | final protected static String SCHEMA_NONS_LOCATION(Code) | | Property identifier: no namespace schema location.
|
SCHEMA_VALIDATOR | final protected static String SCHEMA_VALIDATOR(Code) | | Property identifier: XML Schema validator.
|
UNPARSED_ENTITY_CHECKING | final protected static String UNPARSED_ENTITY_CHECKING(Code) | | Feature identifier: whether to ignore unparsed entity errors
|
VALIDATE_ANNOTATIONS | final protected static String VALIDATE_ANNOTATIONS(Code) | | Feature identifier: validate annotations
|
XMLSCHEMA_FULL_CHECKING | final protected static String XMLSCHEMA_FULL_CHECKING(Code) | | feature identifier: XML Schema validation -- full checking
|
XMLSCHEMA_VALIDATION | final protected static String XMLSCHEMA_VALIDATION(Code) | | feature identifier: XML Schema validation
|
StandardParserConfiguration | public StandardParserConfiguration()(Code) | | Default constructor.
|
StandardParserConfiguration | public StandardParserConfiguration(SymbolTable symbolTable)(Code) | | Constructs a parser configuration using the specified symbol table.
Parameters: symbolTable - The symbol table to use. |
StandardParserConfiguration | public StandardParserConfiguration(SymbolTable symbolTable, XMLGrammarPool grammarPool)(Code) | | 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.
Parameters: symbolTable - The symbol table to use. Parameters: grammarPool - The grammar pool to use. |
StandardParserConfiguration | public StandardParserConfiguration(SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings)(Code) | | 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.
Parameters: symbolTable - The symbol table to use. Parameters: grammarPool - The grammar pool to use. Parameters: parentSettings - The parent settings. |
checkFeature | protected void checkFeature(String featureId) throws XMLConfigurationException(Code) | | Check a feature. If feature is know and supported, this method simply
returns. Otherwise, the appropriate exception is thrown.
Parameters: featureId - The unique identifier (URI) of the feature. throws: XMLConfigurationException - Thrown for configuration error.In general, components shouldonly throw this exception ifit is reallya critical error. |
checkProperty | protected void checkProperty(String propertyId) throws XMLConfigurationException(Code) | | Check a property. If the property is know and supported, this method
simply returns. Otherwise, the appropriate exception is thrown.
Parameters: propertyId - The unique identifier (URI) of the propertybeing set. throws: XMLConfigurationException - Thrown for configuration error.In general, components shouldonly throw this exception ifit is reallya critical error. |
configurePipeline | protected void configurePipeline()(Code) | | Configures the pipeline.
|
|
|
|