| |
|
| java.lang.Object org.apache.xerces.validators.common.GrammarResolverImpl
GrammarResolverImpl | public class GrammarResolverImpl implements GrammarResolver(Code) | | This class embodies the representation of a Schema Grammar
pool.
This class is called from the validator.
Grammar pool maps to a set of Grammar Proxy classes.
author: Jeffrey Rodriguez version: $Id: GrammarResolverImpl.java,v 1.4 2000/12/01 02:52:08 jeffreyr Exp $ |
GrammarResolverImpl | public GrammarResolverImpl()(Code) | | Default constructor.
|
clearGrammarResolver | public void clearGrammarResolver()(Code) | | Reset internal Namespace/Grammar registry.
|
contains | public boolean contains(Grammar grammar)(Code) | | Is Grammar abstraction in Grammar pool?
Parameters: grammar - Grammar Abstraction true - Yes there is at least one instancefalse - No |
containsNameSpace | public boolean containsNameSpace(String nameSpaceKey)(Code) | | Is Namespace key in Grammar pool
Parameters: nameSpaceKey - Namespace key Boolean- true - Namespace key associationis in grammar pool. |
getGrammar | public Grammar getGrammar(String nameSpaceKey)(Code) | | Parameters: nameSpaceKey - Namespace key into Grammar pool Grammar abstraction associatedwith NameSpace key. |
getNSKeysInPool | public String[] getNSKeysInPool()(Code) | | Array of String key name spaces in Grammar pool |
nameSpaceKeys | public Enumeration nameSpaceKeys()(Code) | | Enumeration of String key name spaces in Grammar pool |
putGrammar | public void putGrammar(String nameSpaceKey, Grammar grammar)(Code) | | Parameters: nameSpaceKey - Key to associate with Grammarabstraction Parameters: grammar - Grammar abstractionused by validator. |
removeGrammar | public Grammar removeGrammar(String nameSpaceKey)(Code) | | Removes association of Namespace key and Grammar from
Grammar pool
Parameters: nameSpaceKey - Name space key |
size | public int size()(Code) | | Length of grammar pool. Number of associations. |
|
|
|