| org.apache.xerces.validators.common.GrammarResolver
All known Subclasses: org.apache.xerces.validators.common.GrammarResolverImpl,
GrammarResolver | public interface GrammarResolver (Code) | | This class embodies the representation of a Grammar
pool Resolver.
This class is called from the validator.
author: Jeffrey Rodriguez |
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. |
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. |
|
|