cz.cuni.amis.pogamut.ut2004.communication.translator.bot.state
Class ItemCategoryState
java.lang.Object
cz.cuni.amis.pogamut.ut2004.communication.translator.bot.support.AbstractBotFSMState<InfoMessage,TranslatorContext>
cz.cuni.amis.pogamut.ut2004.communication.translator.bot.state.ItemCategoryState
- All Implemented Interfaces:
- IFSMState<InfoMessage,TranslatorContext>
public class ItemCategoryState
- extends AbstractBotFSMState<InfoMessage,TranslatorContext>
Takes care of the ITC messages creating new categories inside the ItemTranslator class. Every ITC message that
comes is sent to the ItemTranslator object from the TranslatorContext.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ItemCategoryState
public ItemCategoryState()
init
public void init(TranslatorContext context)
restart
public void restart(TranslatorContext context)
stateEntering
public void stateEntering(TranslatorContext context,
IFSMState<InfoMessage,TranslatorContext> fromState,
InfoMessage symbol)
stateLeaving
public void stateLeaving(TranslatorContext context,
IFSMState<InfoMessage,TranslatorContext> toState,
InfoMessage symbol)
stateSymbol
public void stateSymbol(TranslatorContext context,
InfoMessage symbol)