FileDocCategorySizeDatePackage
AbstractXMLSchema.javaAPI DocApache Xerces 3.0.12593Fri Sep 14 20:33:56 BST 2007org.apache.xerces.jaxp.validation

AbstractXMLSchema

public abstract class AbstractXMLSchema extends Schema implements XSGrammarPoolContainer

Abstract implementation of Schema for W3C XML Schemas.

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

Fields Summary
private final HashMap
fFeatures
Map containing the initial values of features for validators created using this grammar pool container.
Constructors Summary
public AbstractXMLSchema()

        fFeatures = new HashMap();
    
Methods Summary
public final java.lang.BooleangetFeature(java.lang.String featureId)
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.

        return (Boolean) fFeatures.get(featureId);
    
public final javax.xml.validation.ValidatornewValidator()

        return new ValidatorImpl(this);
    
public final javax.xml.validation.ValidatorHandlernewValidatorHandler()

        return new ValidatorHandlerImpl(this);
    
final voidsetFeature(java.lang.String featureId, boolean state)

        fFeatures.put(featureId, state ? Boolean.TRUE : Boolean.FALSE);