APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.xerces.internal.jaxp.validation

pack-priv abstract Class AbstractXMLSchema

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

Abstract implementation of Schema for W3C XML Schemas.

Author
Michael Glavassevich, IBM

Field Summary

Modifier and TypeField and Description
private final Map<String, Boolean>
fFeatures

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

private final Map<String, Object>
fProperties

Map containing the initial values of properties 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 com.sun.org.apache.xerces.internal.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 Object
getProperty(String propertyId)

Implements com.sun.org.apache.xerces.internal.jaxp.validation.XSGrammarPoolContainer.getProperty.

Returns the initial value of a property 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
public final void
public final void

Field Detail

fFeaturesback to summary
private final Map<String, Boolean> fFeatures

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

fPropertiesback to summary
private final Map<String, Object> fProperties

Map containing the initial values of properties 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 com.sun.org.apache.xerces.internal.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.

getPropertyback to summary
public final Object getProperty(String propertyId)

Implements com.sun.org.apache.xerces.internal.jaxp.validation.XSGrammarPoolContainer.getProperty.

Returns the initial value of a property 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.

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.

setFeatureback to summary
public final void setFeature(String featureId, boolean state)

Implements com.sun.org.apache.xerces.internal.jaxp.validation.XSGrammarPoolContainer.setFeature.

setPropertyback to summary
public final void setProperty(String propertyId, Object state)

Implements com.sun.org.apache.xerces.internal.jaxp.validation.XSGrammarPoolContainer.setProperty.