public class Var extends Action
Constructor and Description |
---|
Var()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(ActionExecutionContext exctx)
Execute this action instance.
|
String |
getExpr()
Get the expression that evaluates to the initial value
of the variable.
|
String |
getName()
Get the name of the (new) variable.
|
void |
setExpr(String expr)
Set the expression that evaluates to the initial value
of the variable.
|
void |
setName(String name)
Set the name of the (new) variable.
|
getNamespaces, getNamespacesKey, getParent, getParentEnterableState, getTextContentIfNodeResult, setNamespaces, setParent
public Var()
public final String getExpr()
public final void setExpr(String expr)
expr
- The expr to set.public final String getName()
public final void setName(String name)
name
- The name 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.