org.squirrelframework.foundation.fsm
Interface SCXMLVisitor

Type Parameters:
T - type of State Machine
S - type of State
E - type of Event
C - type of Context
All Superinterfaces:
Visitor

public interface SCXMLVisitor
extends Visitor

Visit state machine model structure and export SCXML definition.

Author:
Henry.He

Method Summary
 void convertSCXMLFile(String filename, boolean beautifyXml)
          Create scxml file
 String getScxml(boolean beautifyXml)
           
 
Methods inherited from interface org.squirrelframework.foundation.fsm.Visitor
visitOnEntry, visitOnEntry, visitOnEntry, visitOnExit, visitOnExit, visitOnExit
 

Method Detail

getScxml

String getScxml(boolean beautifyXml)
Parameters:
beautifyXml - whether beautify XML format or not
Returns:
SCXML definition

convertSCXMLFile

void convertSCXMLFile(String filename,
                      boolean beautifyXml)
Create scxml file

Parameters:
filename - file name
beautifyXml - whether beautify XML format or not


Copyright © 2013-2014. All Rights Reserved.