net.sourceforge.chaperon.cocoon
Class ParserTransformer.ParserAutomatonEntry

java.lang.Object
  extended by net.sourceforge.chaperon.cocoon.ParserTransformer.ParserAutomatonEntry
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ParserTransformer

public class ParserTransformer.ParserAutomatonEntry
extends java.lang.Object
implements java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
ParserTransformer.ParserAutomatonEntry(ParserAutomaton automaton, org.apache.excalibur.source.SourceValidity validity)
          Create a new entry.
 
Method Summary
 ParserAutomaton getParserAutomaton()
          Return the parser automaton.
 org.apache.excalibur.source.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(ParserAutomaton automaton,
                                              org.apache.excalibur.source.SourceValidity validity)
Create a new entry.

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

getValidity

public org.apache.excalibur.source.SourceValidity getValidity()
Return the validity of the grammar file.

Returns:
Validity of the grammar file.

getParserAutomaton

public ParserAutomaton getParserAutomaton()
Return the parser automaton.

Returns:
Parser automaton.


Copyright ? 2003 Chaperon project. All Rights Reserved.