The SCXML "engine" that executes SCXML documents. The
particular semantics used by this engine for executing the SCXML are
encapsulated in the SCXMLSemantics implementation that it uses.
The default implementation is
org.apache.commons.scxml.semantics.SCXMLSemanticsImpl
Add a listener to this transition target.
Parameters: transitionTarget - The TransitionTarget toattach listener to. Parameters: listener - The SCXMLListener.
Use "super-step", default is true
(that is, run-to-completion is default).
Returns the superStep property. See Also:SCXMLExecutor.setSuperStep(boolean)
registerInvokerClass
public void registerInvokerClass(String targettype, Class invokerClass)(Code)
Register an Invoker for this target type.
Parameters: targettype - The target type (specified by "targettype"attribute of <invoke> tag). Parameters: invokerClass - The InvokerClass.
Remove this listener for this transition target.
Parameters: transitionTarget - The TransitionTarget. Parameters: listener - The SCXMLListener to be removed.
Clear all state and begin from "initialstate" indicated
on root SCXML element.
throws: ModelException - in case there is a fatal SCXML objectmodel problem.
Set the super step.
Parameters: superStep - if true, the internal derived events are also processed(run-to-completion);if false, the internal derived events are stored in theCurrentStatus property and processed within the nexttriggerEvents() invocation, also the immediate (empty event) transitionsare deferred until the next step
Convenience method when only one event needs to be triggered.
Parameters: evt - the external events which triggered during the lasttime quantum throws: ModelException - in case there is a fatal SCXML objectmodel problem.
The worker method.
Re-evaluates current status whenever any events are triggered.
Parameters: evts - an array of external events which triggered during the lasttime quantum throws: ModelException - in case there is a fatal SCXML objectmodel problem.
unregisterInvokerClass
public void unregisterInvokerClass(String targettype)(Code)
Remove the Invoker registered for this target
type (if there is one registered).
Parameters: targettype - The target type (specified by "targettype"attribute of <invoke> tag).