de.xabsl.jxabsl.statement
Class TransitionToState

java.lang.Object
  extended by de.xabsl.jxabsl.statement.Statement
      extended by de.xabsl.jxabsl.statement.TransitionToState

public class TransitionToState
extends Statement

Represents a transition to a state inside a decision tree


Constructor Summary
TransitionToState(InputSource input, DebugMessages debug, java.util.Map<java.lang.String,State> states)
          Constructor.
 
Method Summary
 State getNextState()
          Executes the statement and determines the next active state (can be the same).
 
Methods inherited from class de.xabsl.jxabsl.statement.Statement
createStatement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransitionToState

public TransitionToState(InputSource input,
                         DebugMessages debug,
                         java.util.Map<java.lang.String,State> states)
                  throws IntermediateCodeMalformedException
Constructor. Creates the transition object

Parameters:
input - An input source for the intermediate code. It must be opened and read until A position where a transition starts.
debug - For debugging output
states - All states of the option
Throws:
IntermediateCodeMalformedException
Method Detail

getNextState

public State getNextState()
Description copied from class: Statement
Executes the statement and determines the next active state (can be the same).

Specified by:
getNextState in class Statement