Top Description Fields Constructors Methods
org.apache.xerces.jaxp.validation

pack-priv abstract Class AbstractXMLSchema

extends Schema
implements XSGrammarPoolContainer
Class Inheritance
All Implemented Interfaces
org.apache.xerces.jaxp.validation.XSGrammarPoolContainer
Known Direct Subclasses
org.apache.xerces.jaxp.validation.EmptyXMLSchema, org.apache.xerces.jaxp.validation.SimpleXMLSchema, org.apache.xerces.jaxp.validation.WeakReferenceXMLSchema, org.apache.xerces.jaxp.validation.XMLSchema
Imports
java.util.HashMap, javax.xml.validation.Schema, .Validator, .ValidatorHandler

Abstract implementation of Schema for W3C XML Schemas.

Author
Michael Glavassevich, IBM
Version
$Id: AbstractXMLSchema.java 447235 2006-09-18 05:01:44Z mrglavas $

Field Summary

Modifier and TypeField and Description
private final HashMap<K, V>
fFeatures

Map containing the initial values of features for validators created using this grammar pool container.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final Boolean
getFeature(String featureId)

Implements org.apache.xerces.jaxp.validation.XSGrammarPoolContainer.getFeature.

Returns the initial value of a feature for validators created using this grammar pool container or null if the validators should use the default value.
public final Validator
newValidator()

Implements abstract javax.xml.validation.Schema.newValidator.

Creates a new Validator for this Schema.
public final ValidatorHandler
pack-priv final void
setFeature(String featureId, boolean state)

Field Detail

fFeaturesback to summary
private final HashMap<K, V> fFeatures

Map containing the initial values of features for validators created using this grammar pool container.

Constructor Detail

AbstractXMLSchemaback to summary
public AbstractXMLSchema()

Method Detail

getFeatureback to summary
public final Boolean getFeature(String featureId)

Implements org.apache.xerces.jaxp.validation.XSGrammarPoolContainer.getFeature.

Returns the initial value of a feature for validators created using this grammar pool container or null if the validators should use the default value.

newValidatorback to summary
public final Validator newValidator()

Implements abstract javax.xml.validation.Schema.newValidator.

Doc from javax.xml.validation.Schema.newValidator.

Creates a new Validator for this Schema.

A validator enforces/checks the set of constraints this object represents.

Implementors should assure that the properties set on the SchemaFactory that created this Schema are also set on the Validator constructed.

Returns:Validator

Always return a non-null valid object.

newValidatorHandlerback to summary
public final ValidatorHandler newValidatorHandler()

Implements abstract javax.xml.validation.Schema.newValidatorHandler.

Doc from javax.xml.validation.Schema.newValidatorHandler.

Creates a new ValidatorHandler for this Schema.

Implementors should assure that the properties set on the SchemaFactory that created this Schema are also set on the ValidatorHandler constructed.

Returns:ValidatorHandler

Always return a non-null valid object.

setFeatureback to summary
pack-priv final void setFeature(String featureId, boolean state)