public abstract class ParamsContainer extends PayloadProvider
ParamsContainer
represents an element in the SCXML
document that may have one or more <param/> children which are used to
produce payload for events or external communication.Constructor and Description |
---|
ParamsContainer() |
Modifier and Type | Method and Description |
---|---|
protected void |
addParamsToPayload(ActionExecutionContext exctx,
Map<String,Object> payload)
Adds data to the payload data map based on the
Param s of this ParamsContainer |
List<Param> |
getParams()
Get the list of
Param s. |
addToPayload, clonePayloadValue, makeEventPayload
execute, getNamespaces, getNamespacesKey, getParent, getParentEnterableState, getTextContentIfNodeResult, setNamespaces, setParent
public ParamsContainer()
protected void addParamsToPayload(ActionExecutionContext exctx, Map<String,Object> payload) throws ModelException, SCXMLExpressionException
Param
s of this ParamsContainer
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.