public class Foreach extends Action implements ActionsContainer
ELEM_FOREACH, ELEM_IF| Constructor and Description |
|---|
Foreach() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(Action action)
Add an Action to the list of executable actions contained in
this <container>.
|
void |
execute(ActionExecutionContext exctx)
Execute this action instance.
|
List<Action> |
getActions()
Get the executable actions contained in this <container>.
|
String |
getArray() |
String |
getContainerElementName()
Get the Document element type for this <container>.
|
String |
getIndex() |
String |
getItem() |
void |
setArray(String array) |
void |
setIndex(String index) |
void |
setItem(String item) |
getNamespaces, getNamespacesKey, getParent, getParentEnterableState, getTextContentIfNodeResult, setNamespaces, setParentpublic Foreach()
public final String getContainerElementName()
ActionsContainergetContainerElementName in interface ActionsContainerpublic final List<Action> getActions()
ActionsContainergetActions in interface ActionsContainerpublic final void addAction(Action action)
ActionsContaineraddAction in interface ActionsContaineraction - The action to add.public void execute(ActionExecutionContext exctx) throws ModelException, SCXMLExpressionException
execute in class Actionexctx - 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.