Class WriteProcessingCallbackParams
java.lang.Object
de.businesscode.bcdui.binding.write.WriteProcessingCallbackParams
callback params class scaffolding arbitrary parameters supplied to callback and
providing access API,
The parameters sample:
<ul>
<li><Param name="foo" x="a" y="b"/></li>
<li><Param name="foo" z="x" d="y"/></li>
<li><Param name="bindingItem" id="bcdUpdateBy" value="expression" isCoalesce="true"/></li>
<li><Param name="bindingItem" id="bcdUpdateStamp" value="expression" isCoalesce="false"/></li>
</ul>
the parameter api is a list of parameter-maps in the order they are defined. The parameters however, are
not ordered. The definition above would result in a list of maps:
1st map: name=foo, x=a, y=b
2nd map: name=foo, z=x, d=y
3rd map: name=bindingItem, id=bcdUpdateBy, value=expression, isCoalesce=true
etc.
This class may be extended with convenience API for parameter retrieval, i.e. by param/name-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
retrieves map value with defaultValueconvenience factory method which parses the Callback node as defined by bindings.xsd
-
Constructor Details
-
WriteProcessingCallbackParams
protected WriteProcessingCallbackParams()
-
-
Method Details
-
parse
public static WriteProcessingCallbackParams parse(Node callbackNode) throws XPathExpressionException convenience factory method which parses the Callback node as defined by bindings.xsd- Parameters:
callbackNode
-- Returns:
- Throws:
XPathExpressionException
-
getParamList
-
getValue
retrieves map value with defaultValue- Parameters:
map
-key
-defaultValue
-- Returns:
-