public class DTDGrammarBucket
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
protected DTDGrammar |
fActiveGrammar |
|
protected java.util.Hashtable |
fGrammars |
Grammars associated with element root name.
|
protected boolean |
fIsStandalone |
| Constructor | Description |
|---|---|
DTDGrammarBucket() |
Default constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
clear() |
|
DTDGrammar |
getGrammar(org.apache.xerces.xni.grammars.XMLGrammarDescription desc) |
|
void |
putGrammar(DTDGrammar grammar) |
Puts the specified grammar into the grammar pool and associate it to
a root element name (this being internal, the lack of generality is irrelevant).
|
protected final java.util.Hashtable fGrammars
protected DTDGrammar fActiveGrammar
protected boolean fIsStandalone
public void putGrammar(DTDGrammar grammar)
grammar - The grammar.public DTDGrammar getGrammar(org.apache.xerces.xni.grammars.XMLGrammarDescription desc)
public void clear()
Copyright ? 1999-2010 The Apache Software Foundation. All Rights Reserved.