public abstract class NamelistHolder extends ParamsContainer
NamelistHolder
represents an element in the SCXML
document that may have a namelist attribute to
produce payload for events or external communication.Constructor and Description |
---|
NamelistHolder() |
Modifier and Type | Method and Description |
---|---|
protected void |
addNamelistDataToPayload(ActionExecutionContext exctx,
Map<String,Object> payload)
Adds data to the payload data map based on the namelist which names are location expressions
(typically data ids or for example XPath variables).
|
String |
getNamelist()
Get the namelist.
|
void |
setNamelist(String namelist)
Set the namelist.
|
addParamsToPayload, getParams
addToPayload, clonePayloadValue, makeEventPayload
execute, getNamespaces, getNamespacesKey, getParent, getParentEnterableState, getTextContentIfNodeResult, setNamespaces, setParent
public NamelistHolder()
public final String getNamelist()
public final void setNamelist(String namelist)
namelist
- The namelist to set.protected void addNamelistDataToPayload(ActionExecutionContext exctx, Map<String,Object> payload) throws ModelException, SCXMLExpressionException
exctx
- The ActionExecutionContextpayload
- the payload data map to be updatedModelException
- if this action has not an EnterableState as parentSCXMLExpressionException
- if a malformed or invalid expression is evaluatedPayloadProvider.addToPayload(String, Object, java.util.Map)
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.