| java.lang.Object org.apache.commons.scxml.model.Action
All known Subclasses: org.apache.commons.scxml.model.Send, org.apache.commons.scxml.model.Log, org.apache.commons.scxml.model.Assign, org.apache.commons.scxml.model.Var, org.apache.commons.scxml.model.Hello, org.apache.commons.scxml.model.Cancel, org.apache.commons.scxml.model.If, org.apache.commons.scxml.model.Exit, org.apache.commons.scxml.model.ElseIf,
Constructor Summary | |
public | Action() Constructor. |
Action | public Action()(Code) | | Constructor.
|
execute | abstract public void execute(EventDispatcher evtDispatcher, ErrorReporter errRep, SCInstance scInstance, Log appLog, Collection derivedEvents) throws ModelException, SCXMLExpressionException(Code) | | Execute this action instance.
Parameters: evtDispatcher - The EventDispatcher for this execution instance Parameters: errRep - The ErrorReporter to broadcast any errorsduring execution. Parameters: scInstance - The state machine execution instance information. Parameters: appLog - The application Log. Parameters: derivedEvents - The collection to which any internal eventsarising from the execution of this actionmust be added. throws: ModelException - If the execution causes the model to entera non-deterministic state. throws: SCXMLExpressionException - If the execution involves tryingto evaluate an expression which is malformed. |
getNamespaces | final public Map getNamespaces()(Code) | | Get the XML namespaces at this action node in the SCXML document.
Returns the map of namespaces. |
getNamespacesKey | protected static String getNamespacesKey()(Code) | | Return the key under which the current document namespaces are saved
in the parent state's context.
The namespaces key |
getParent | final public Executable getParent()(Code) | | Get the Executable parent.
Returns the parent. |
setNamespaces | final public void setNamespaces(Map namespaces)(Code) | | Set the XML namespaces at this action node in the SCXML document.
Parameters: namespaces - The document namespaces. |
setParent | final public void setParent(Executable parent)(Code) | | Set the Executable parent.
Parameters: parent - The parent to set. |
|
|