class ActiveGrammarSet implements ScopedSetObserver<GrammarDocument> {

    public void add(final GrammarDocument grammar) {
        grammars.add(grammar);
        if (LOGGER.isDebugEnabled()) {
            LOGGER.debug("added 1 grammar - now containing " + grammars.size());
        }
    }

    public  ActiveGrammarSet(final ScopeObserver scopeObserver);

}