|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class embodies the representation of a Grammar pool Resolver. This class is called from the validator.
Method Summary | |
---|---|
void |
clearGrammarResolver()
Reset internal Namespace/Grammar registry. |
boolean |
contains(Grammar grammar)
Is Grammar abstraction in Grammar pool? |
boolean |
containsNameSpace(java.lang.String nameSpaceKey)
Is Namespace key in Grammar pool |
DatatypeValidatorFactory |
getDatatypeRegistry()
|
Grammar |
getGrammar(java.lang.String nameSpaceKey)
|
java.util.Enumeration |
nameSpaceKeys()
|
void |
putGrammar(java.lang.String nameSpaceKey,
Grammar grammar)
|
Grammar |
removeGrammar(java.lang.String nameSpaceKey)
Removes association of Namespace key and Grammar from Grammar pool |
int |
size()
|
Method Detail |
public Grammar getGrammar(java.lang.String nameSpaceKey)
nameSpaceKey
- Namespace key into Grammar poolpublic DatatypeValidatorFactory getDatatypeRegistry()
public java.util.Enumeration nameSpaceKeys()
public void putGrammar(java.lang.String nameSpaceKey, Grammar grammar)
nameSpaceKey
- Key to associate with Grammar
abstractiongrammar
- Grammar abstraction
used by validator.public Grammar removeGrammar(java.lang.String nameSpaceKey)
nameSpaceKey
- Name space keypublic boolean contains(Grammar grammar)
grammar
- Grammar Abstractionpublic boolean containsNameSpace(java.lang.String nameSpaceKey)
nameSpaceKey
- Namespace keypublic void clearGrammarResolver()
public int size()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |