public class DTDGrammarBucket extends Object
Modifier and Type | Field and Description |
---|---|
protected DTDGrammar |
fActiveGrammar |
protected 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(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 Hashtable fGrammars
protected DTDGrammar fActiveGrammar
protected boolean fIsStandalone
public void putGrammar(DTDGrammar grammar)
grammar
- The grammar.public DTDGrammar getGrammar(XMLGrammarDescription desc)
public void clear()
Copyright © 2018 JBoss by Red Hat. All rights reserved.