public class SETATTRIBUTES extends ElementOrListStackFunction
SETATTRIBUTES expects the following parameters on the stack:
1: a map of attributes
If a null key exists, then the attributes will be overridden, otherwise they will be modified. If an attribute has an empty or null associated value, the attribute will be removed.
ElementOrListStackFunction.ElementStackFunction| Constructor and Description |
|---|
SETATTRIBUTES(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
ElementOrListStackFunction.ElementStackFunction |
generateFunction(WarpScriptStack stack)
Generates the function to be applied on the element(s) using the parameters on the stack.
|
applygetName, refSnapshot, setName, toStringpublic ElementOrListStackFunction.ElementStackFunction generateFunction(WarpScriptStack stack) throws WarpScriptException
ElementOrListStackFunctiongenerateFunction in class ElementOrListStackFunctionstack - The stack to be used for parameters retrieval.WarpScriptException