public class StateMachine.TransitionTable extends Object
Note that you can chain a series of these Transition tables and the lookup will proceed along the chain until it succeeds.
Modifier | Constructor and Description |
---|---|
protected |
StateMachine.TransitionTable() |
Modifier and Type | Method and Description |
---|---|
StateMachine.Transition |
get(Object tag)
get the Transition associated with the specified tag.
|
void |
put(Object tag,
StateMachine.Transition transition)
set a Transition within this TransitionTable (2-argument form)
|
void |
setFallback(StateMachine.TransitionTable fallback)
set the specified TransitionTable to be looked
looked up if the Transition cannot be found in
this one.
|
void |
setTransition(Object tag,
StateMachine.State destination,
boolean notifyOnExit)
set a Transition within this TransitionTable (3-argument form)
|
protected StateMachine.TransitionTable()
public void put(Object tag, StateMachine.Transition transition) throws ParserException
ParserException
public void setTransition(Object tag, StateMachine.State destination, boolean notifyOnExit) throws ParserException
ParserException
public StateMachine.Transition get(Object tag)
public void setFallback(StateMachine.TransitionTable fallback)
Copyright © 2014 BioJava. All rights reserved.