org.apache.cocoon.transformation
Class ExtendedParserTransformer.GrammarEntry

java.lang.Object
  extended by org.apache.cocoon.transformation.ExtendedParserTransformer.GrammarEntry
All Implemented Interfaces:
Serializable
Enclosing class:
ExtendedParserTransformer

public static class ExtendedParserTransformer.GrammarEntry
extends Object
implements Serializable

This class represent a entry in a store to cache the parser automaton.

See Also:
Serialized Form

Constructor Summary
ExtendedParserTransformer.GrammarEntry(net.sourceforge.chaperon.model.extended.ExtendedGrammar grammar, SourceValidity validity)
          Create a new entry.
 
Method Summary
 net.sourceforge.chaperon.model.extended.ExtendedGrammar getExtendedGrammar()
          Return the parser automaton.
 SourceValidity getValidity()
          Return the validity of the grammar file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedParserTransformer.GrammarEntry

public ExtendedParserTransformer.GrammarEntry(net.sourceforge.chaperon.model.extended.ExtendedGrammar grammar,
                                              SourceValidity validity)
Create a new entry.

Parameters:
grammar - Extended grammar
validity - Validity for the grammar file.
Method Detail

getValidity

public SourceValidity getValidity()
Return the validity of the grammar file.

Returns:
Validity of the grammar file.

getExtendedGrammar

public net.sourceforge.chaperon.model.extended.ExtendedGrammar getExtendedGrammar()
Return the parser automaton.

Returns:
Parser automaton.


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.