| java.lang.Object org.apache.commons.scxml.model.Action org.apache.commons.scxml.model.If
If | public class If extends Action (Code) | | The class in this SCXML object model that corresponds to the
<if> SCXML element, which serves as a container for conditionally
executed elements. <else> and <elseif> can optionally
appear within an <if> as immediate children, and serve to partition
the elements within an <if>.
|
Constructor Summary | |
public | If() Constructor. |
If | public If()(Code) | | Constructor.
|
addAction | final public void addAction(Action action)(Code) | | Add an Action to the list of executable actions contained in
this <if>.
Parameters: action - The action to add. |
getActions | final public List getActions()(Code) | | Get the executable actions contained in this <if>.
Returns the actions. |
getCond | final public String getCond()(Code) | | Get the conditional expression.
Returns the cond. |
setCond | final public void setCond(String cond)(Code) | | Set the conditional expression.
Parameters: cond - The cond to set. |
|
|