roboplayer.fsm
Class FSMParser

java.lang.Object
  |
  +--roboplayer.fsm.FSMParser

public class FSMParser
extends java.lang.Object

This class is used to parse configuration file and initialise FSM.

Version:
1.0
Author:
Krzysztof Langner

Constructor Summary
FSMParser()
          Constructor
 
Method Summary
 State parse(org.w3c.dom.Node rootNode)
          Parse script file
 void register(org.w3c.dom.Node rootNode)
          Register states and conditions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FSMParser

public FSMParser()
Constructor

Method Detail

register

public void register(org.w3c.dom.Node rootNode)
Register states and conditions

Parameters:
rootNode - XML node wit registration information

parse

public State parse(org.w3c.dom.Node rootNode)
Parse script file

Returns:
Start state