| |
|
| java.lang.Object org.apache.xerces.util.ParserConfigurationSettings org.apache.xerces.jaxp.validation.XMLSchemaValidatorComponentManager
XMLSchemaValidatorComponentManager | final class XMLSchemaValidatorComponentManager extends ParserConfigurationSettings implements XMLComponentManager(Code) | | An implementation of XMLComponentManager for a schema validator.
author: Michael Glavassevich, IBM version: $Id: XMLSchemaValidatorComponentManager.java 447235 2006-09-18 05:01:44Z mrglavas $ |
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
|
UNPARSED_ENTITY_CHECKING | final protected static String UNPARSED_ENTITY_CHECKING(Code) | | Feature identifier: whether to ignore unparsed entity errors
|
XMLSchemaValidatorComponentManager | public XMLSchemaValidatorComponentManager(XSGrammarPoolContainer grammarContainer)(Code) | | Constructs a component manager suitable for Xerces' schema validator.
|
addRecognizedParamsAndSetDefaults | public void addRecognizedParamsAndSetDefaults(XMLComponent component, XSGrammarPoolContainer grammarContainer)(Code) | | Adds all of the component's recognized features and properties
to the list of default recognized features and properties, and
sets default values on the configuration for features and
properties which were previously absent from the configuration.
Parameters: component - The component whose recognized featuresand properties will be added to the configuration |
getFeature | public boolean getFeature(String featureId) throws XMLConfigurationException(Code) | | Returns the state of a feature.
Parameters: featureId - The feature identifier. true if the feature is supported throws: XMLConfigurationException - Thrown for configuration error.In general, components shouldonly throw this exception ifit is reallya critical error. |
getProperty | public Object getProperty(String propertyId) throws XMLConfigurationException(Code) | | Returns the value of a property.
Parameters: propertyId - The property identifier. the value of the property throws: XMLConfigurationException - Thrown for configuration error.In general, components shouldonly throw this exception ifit is reallya critical error. |
reset | public void reset() throws XNIException(Code) | | Calls reset on each of the components owned by this component manager. *
|
restoreInitialState | void restoreInitialState()(Code) | | Cleans out configuration, restoring it to its initial state.
|
setFeature | public void setFeature(String featureId, boolean value) throws XMLConfigurationException(Code) | | Set the state of a feature.
Parameters: featureId - The unique identifier (URI) of the feature. Parameters: state - The requested state of the feature (true or false). exception: XMLConfigurationException - If the requested feature is not known. |
setProperty | public void setProperty(String propertyId, Object value) throws XMLConfigurationException(Code) | | Sets the state of a property.
Parameters: propertyId - The unique identifier (URI) of the property. Parameters: value - The requested state of the property. exception: XMLConfigurationException - If the requested property is not known. |
|
|
|