FileDocCategorySizeDatePackage
EmptyXMLSchema.javaAPI DocJava SE 6 API2260Tue Jun 10 00:22:48 BST 2008com.sun.org.apache.xerces.internal.jaxp.validation

EmptyXMLSchema

public final class EmptyXMLSchema extends AbstractXMLSchema implements XMLGrammarPool

Implementation of Schema for W3C XML Schemas which contains no schema components.

author
Michael Glavassevich, IBM
version
$Id: EmptyXMLSchema.java,v 1.1.4.1 2005/09/05 11:39:55 sunithareddy Exp $

Fields Summary
private static EmptyXMLSchema
EMPTY_XML_SCHEMA_INSTANCE
private static final Grammar[]
ZERO_LENGTH_GRAMMAR_ARRAY
Zero length grammar array.
Constructors Summary
private EmptyXMLSchema()

Methods Summary
public voidcacheGrammars(java.lang.String grammarType, com.sun.org.apache.xerces.internal.xni.grammars.Grammar[] grammars)

public voidclear()

public com.sun.org.apache.xerces.internal.xni.grammars.XMLGrammarPoolgetGrammarPool()

        return this;
    
public static com.sun.org.apache.xerces.internal.jaxp.validation.EmptyXMLSchemagetInstance()
Returns the one and only instance of this class.


              
        
        return EMPTY_XML_SCHEMA_INSTANCE;
    
public booleanisFullyComposed()

        return true;
    
public voidlockPool()

public com.sun.org.apache.xerces.internal.xni.grammars.GrammarretrieveGrammar(com.sun.org.apache.xerces.internal.xni.grammars.XMLGrammarDescription desc)

        return null;
    
public com.sun.org.apache.xerces.internal.xni.grammars.Grammar[]retrieveInitialGrammarSet(java.lang.String grammarType)

        return ZERO_LENGTH_GRAMMAR_ARRAY;
    
public voidunlockPool()