public class DTDGrammarBucket
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected DTDGrammar |
fActiveGrammar |
protected java.util.Hashtable |
fGrammars
Grammars associated with element root name.
|
protected boolean |
fIsStandalone |
| Constructor and Description |
|---|
DTDGrammarBucket()
Default constructor.
|
| Modifier and Type | Method and 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-2022 The Apache Software Foundation. All Rights Reserved.