org.apache.xerces.parsers
public static final class CachingParserPool.SynchronizedGrammarPool extends Object implements XMLGrammarPool
Constructor Summary | |
---|---|
SynchronizedGrammarPool(XMLGrammarPool grammarPool) Constructs a synchronized grammar pool. |
Method Summary | |
---|---|
void | cacheGrammars(String grammarType, Grammar[] grammars) |
void | clear() clear the grammar pool |
void | lockPool() lock the grammar pool |
Grammar | retrieveGrammar(XMLGrammarDescription gDesc) |
Grammar[] | retrieveInitialGrammarSet(String grammarType) |
void | unlockPool() unlock the grammar pool |