Parser configuration for Xerces' XMLSchemaValidator.
Modifier and Type | Field and Description |
---|---|
private static final String | ERROR_REPORTER
Property identifier: error reporter. |
private final XMLGrammarPool | fGrammarPool
The Schema's grammar pool. |
private final XMLComponentManager | fParentComponentManager
Parent component manager. |
private final boolean | fUseGrammarPoolOnly
Tracks whether the validator should use components from the grammar pool to the exclusion of all others. |
private final ValidationManager | fValidationManager
Validation manager. |
private static final String | PARSER_SETTINGS
Feature identifier: parser settings. |
private static final String | SCHEMA_VALIDATION
Feature identifier: schema validation. |
private static final String | USE_GRAMMAR_POOL_ONLY
Feature identifier: use grammar pool only. |
private static final String | VALIDATION
Feature identifier: validation. |
private static final String | VALIDATION_MANAGER
Property identifier: validation manager. |
private static final String | XMLGRAMMAR_POOL
Property identifier: grammar pool. |
Access | Constructor and Description |
---|---|
public | SchemaValidatorConfiguration(XMLComponentManager parentManager, XSGrammarPoolContainer grammarContainer, ValidationManager validationManager)
|
Modifier and Type | Method and Description |
---|---|
public boolean | Returns: true if the feature is supportedThe feature identifier. featureId)Implements com. Returns the state of a feature. |
public boolean | getFeature(String
The feature identifier. featureId, boolean Default value if future is not available. defaultValue)Implements com. Returns the state of a feature. |
public FeatureState | |
public Object | Returns: the value of the propertyThe property identifier. propertyId)Implements com. Returns the value of a property. |
public Object | getProperty(String
The property identifier. propertyId, Object Return value if property is not available. defaultValue)Implements com. Returns the value of a property. |
public PropertyState |
ERROR_REPORTER | back to summary |
---|---|
private static final String ERROR_REPORTER Property identifier: error reporter. |
fGrammarPool | back to summary |
---|---|
private final XMLGrammarPool fGrammarPool The Schema's grammar pool. |
fParentComponentManager | back to summary |
---|---|
private final XMLComponentManager fParentComponentManager Parent component manager. |
fUseGrammarPoolOnly | back to summary |
---|---|
private final boolean fUseGrammarPoolOnly Tracks whether the validator should use components from the grammar pool to the exclusion of all others. |
fValidationManager | back to summary |
---|---|
private final ValidationManager fValidationManager Validation manager. |
PARSER_SETTINGS | back to summary |
---|---|
private static final String PARSER_SETTINGS Feature identifier: parser settings. |
SCHEMA_VALIDATION | back to summary |
---|---|
private static final String SCHEMA_VALIDATION Feature identifier: schema validation. |
USE_GRAMMAR_POOL_ONLY | back to summary |
---|---|
private static final String USE_GRAMMAR_POOL_ONLY Feature identifier: use grammar pool only. |
VALIDATION | back to summary |
---|---|
private static final String VALIDATION Feature identifier: validation. |
VALIDATION_MANAGER | back to summary |
---|---|
private static final String VALIDATION_MANAGER Property identifier: validation manager. |
XMLGRAMMAR_POOL | back to summary |
---|---|
private static final String XMLGRAMMAR_POOL Property identifier: grammar pool. |
SchemaValidatorConfiguration | back to summary |
---|---|
public SchemaValidatorConfiguration(XMLComponentManager parentManager, XSGrammarPoolContainer grammarContainer, ValidationManager validationManager) |
getFeature | back to summary |
---|---|
public boolean getFeature(String featureId) throws XMLConfigurationException Implements com. Returns the state of a feature.
|
getFeature | back to summary |
---|---|
public boolean getFeature(String featureId, boolean defaultValue) Implements com. Doc from com. Returns the state of a feature. Does not throw exceptions.
|
getFeatureState | back to summary |
---|---|
public FeatureState getFeatureState(String featureId) Implements com. |
getProperty | back to summary |
---|---|
public Object getProperty(String propertyId) throws XMLConfigurationException Implements com. Returns the value of a property.
|
getProperty | back to summary |
---|---|
public Object getProperty(String propertyId, Object defaultValue) Implements com. Doc from com. Returns the value of a property. Does not throw exceptions. |
getPropertyState | back to summary |
---|---|
public PropertyState getPropertyState(String propertyId) Implements com. |