org.apache.xerces.parsers
Class CachingParserPool.ShadowedGrammarPool

java.lang.Object
  |
  +--org.apache.xerces.impl.validation.GrammarPool
        |
        +--org.apache.xerces.parsers.CachingParserPool.ShadowedGrammarPool
Enclosing class:
CachingParserPool

public static final class CachingParserPool.ShadowedGrammarPool
extends GrammarPool

Shadowed grammar pool.

Author:
Andy Clark, IBM

Fields inherited from class org.apache.xerces.impl.validation.GrammarPool
fGrammars, fGrammarsNS
 
Constructor Summary
CachingParserPool.ShadowedGrammarPool(GrammarPool grammarPool)
          Constructs a shadowed grammar pool.
 
Method Summary
 boolean containsGrammar(java.lang.String key)
          Returns true if the grammar pool contains a grammar associated to the specified key.
 Grammar getGrammar(java.lang.String key)
          Returns the grammar associated to the specified key.
 
Methods inherited from class org.apache.xerces.impl.validation.GrammarPool
containsGrammarNS, getGrammarNS, putGrammar, putGrammarNS, removeGrammar, removeGrammarNS
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachingParserPool.ShadowedGrammarPool

public CachingParserPool.ShadowedGrammarPool(GrammarPool grammarPool)
Constructs a shadowed grammar pool.
Method Detail

getGrammar

public Grammar getGrammar(java.lang.String key)
Returns the grammar associated to the specified key.
Overrides:
getGrammar in class GrammarPool
Parameters:
key - The key of the grammar.

containsGrammar

public boolean containsGrammar(java.lang.String key)
Returns true if the grammar pool contains a grammar associated to the specified key.
Overrides:
containsGrammar in class GrammarPool
Parameters:
key - The key of the grammar.


Copyright © 1999-2001 Apache XML Project. All Rights Reserved.