com.saxonica.schema
Class FiniteStateMachine

java.lang.Object
  extended bycom.saxonica.schema.FiniteStateMachine

public class FiniteStateMachine
extends java.lang.Object

Class representing a finite state machine, as a collection of states with transitions between them


Constructor Summary
FiniteStateMachine()
           
 
Method Summary
 void allocateStateNumber(AutomatonState state)
           
 void display()
          Display the finite state machine.
 AutomatonState getInitialState()
           
 AutomatonState getState(int number)
           
 void setInitialState(AutomatonState initialState)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FiniteStateMachine

public FiniteStateMachine()
Method Detail

allocateStateNumber

public void allocateStateNumber(AutomatonState state)

getInitialState

public AutomatonState getInitialState()

setInitialState

public void setInitialState(AutomatonState initialState)

getState

public AutomatonState getState(int number)

display

public void display()
Display the finite state machine. This is a diagnostic method for internal use. Output is written to System.err.