org.apache.xerces.parsers
public class StandardParserConfiguration extends DTDConfiguration
In addition to the features and properties recognized by the base parser configuration, this class recognizes these additional features and properties:
Version: $Id: StandardParserConfiguration.java,v 1.38 2005/02/09 15:34:02 ankitp Exp $
Field Summary | |
---|---|
protected XMLSchemaValidator | fSchemaValidator XML Schema Validator. |
protected static String | GENERATE_SYNTHETIC_ANNOTATIONS Feature: generate synthetic annotations |
protected static String | HONOUR_ALL_SCHEMALOCATIONS Feature identifier: honour all schemaLocations |
protected static String | NORMALIZE_DATA Feature identifier: expose schema normalized value |
protected static String | SCHEMA_AUGMENT_PSVI Feature identifier: augment PSVI |
protected static String | SCHEMA_ELEMENT_DEFAULT Feature identifier: send element default value via characters() |
protected static String | SCHEMA_LOCATION Property identifier: schema location. |
protected static String | SCHEMA_NONS_LOCATION Property identifier: no namespace schema location. |
protected static String | SCHEMA_VALIDATOR Property identifier: XML Schema validator. |
protected static String | VALIDATE_ANNOTATIONS Feature identifier: validate annotations |
protected static String | XMLSCHEMA_FULL_CHECKING feature identifier: XML Schema validation -- full checking |
protected static String | XMLSCHEMA_VALIDATION feature identifier: XML Schema validation |
Constructor Summary | |
---|---|
StandardParserConfiguration() Default constructor. | |
StandardParserConfiguration(SymbolTable symbolTable)
Constructs a parser configuration using the specified symbol table.
| |
StandardParserConfiguration(SymbolTable symbolTable, XMLGrammarPool grammarPool)
Constructs a parser configuration using the specified symbol table and
grammar pool.
| |
StandardParserConfiguration(SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings)
Constructs a parser configuration using the specified symbol table,
grammar pool, and parent settings.
|
Method Summary | |
---|---|
protected void | checkFeature(String featureId)
Check a feature. |
protected void | checkProperty(String propertyId)
Check a property. |
protected void | configurePipeline() Configures the pipeline. |
Parameters: symbolTable The symbol table to use.
REVISIT: Grammar pool will be updated when the new validation engine is implemented.
Parameters: symbolTable The symbol table to use. grammarPool The grammar pool to use.
REVISIT: Grammar pool will be updated when the new validation engine is implemented.
Parameters: symbolTable The symbol table to use. grammarPool The grammar pool to use. parentSettings The parent settings.
Parameters: featureId The unique identifier (URI) of the feature.
Throws: XMLConfigurationException Thrown for configuration error. In general, components should only throw this exception if it is really a critical error.
Parameters: propertyId The unique identifier (URI) of the property being set.
Throws: XMLConfigurationException Thrown for configuration error. In general, components should only throw this exception if it is really a critical error.