|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.taglibs.rdc.scxml.model.Action
org.apache.taglibs.rdc.scxml.model.If
public class If
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 | |
---|---|
If()
Constructor |
Method Summary | |
---|---|
void |
addAction(Action action)
Add an Action to the list of executable actions contained in this <if> |
java.util.List |
getActions()
Get the executable actions contained in this <if> |
java.lang.String |
getCond()
Get the conditional expression |
void |
setCond(java.lang.String cond)
Set the conditional expression |
Methods inherited from class org.apache.taglibs.rdc.scxml.model.Action |
---|
getParent, getParentState, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public If()
Method Detail |
---|
public java.util.List getActions()
public void addAction(Action action)
action
- The action to add.public java.lang.String getCond()
public void setCond(java.lang.String cond)
cond
- The cond to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |