public class ElseIf extends Action
Constructor and Description |
---|
ElseIf()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(ActionExecutionContext exctx)
Execute this action instance.
|
String |
getCond()
Get the conditional expression.
|
void |
setCond(String cond)
Set the conditional expression.
|
getNamespaces, getNamespacesKey, getParent, getParentEnterableState, getTextContentIfNodeResult, setNamespaces, setParent
public ElseIf()
public final void setCond(String cond)
cond
- The cond to set.public void execute(ActionExecutionContext exctx) throws ModelException, SCXMLExpressionException
execute
in class Action
exctx
- The ActionExecutionContext for this execution instanceModelException
- If the execution causes the model to enter
a non-deterministic state.SCXMLExpressionException
- If the execution involves trying
to evaluate an expression which is malformed.Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.