org.apache.cocoon.transformation
Class ParserTransformer.ParserAutomatonEntry

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

public static class ParserTransformer.ParserAutomatonEntry
extends Object
implements Serializable

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

See Also:
Serialized Form

Constructor Summary
ParserTransformer.ParserAutomatonEntry(net.sourceforge.chaperon.process.ParserAutomaton automaton, SourceValidity validity)
          Create a new entry.
 
Method Summary
 net.sourceforge.chaperon.process.ParserAutomaton getParserAutomaton()
          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

ParserTransformer.ParserAutomatonEntry

public ParserTransformer.ParserAutomatonEntry(net.sourceforge.chaperon.process.ParserAutomaton automaton,
                                              SourceValidity validity)
Create a new entry.

Parameters:
automaton - Parser automaton.
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.

getParserAutomaton

public net.sourceforge.chaperon.process.ParserAutomaton getParserAutomaton()
Return the parser automaton.

Returns:
Parser automaton.


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