Class SpinValueMapper
- java.lang.Object
-
- org.camunda.feel.valuemapper.JavaCustomValueMapper
-
- org.camunda.spin.plugin.impl.feel.integration.SpinValueMapper
-
- All Implemented Interfaces:
org.camunda.feel.valuemapper.CustomValueMapper
public class SpinValueMapper extends org.camunda.feel.valuemapper.JavaCustomValueMapper
-
-
Constructor Summary
Constructors Constructor Description SpinValueMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
nodeName(org.camunda.spin.xml.SpinXmlNode n)
int
priority()
protected org.camunda.feel.syntaxtree.Val
spinJsonToVal(org.camunda.spin.json.SpinJsonNode node, Function<Object,org.camunda.feel.syntaxtree.Val> innerValueMapper)
protected String
spinXmlAttributeToKey(org.camunda.spin.xml.SpinXmlAttribute attribute)
protected org.camunda.feel.syntaxtree.Val
spinXmlElementToVal(org.camunda.spin.xml.SpinXmlElement e, Function<Object,org.camunda.feel.syntaxtree.Val> innerValueMapper)
protected org.camunda.feel.syntaxtree.Val
spinXmlToVal(org.camunda.spin.xml.SpinXmlElement element, Function<Object,org.camunda.feel.syntaxtree.Val> innerValueMapper)
Optional<org.camunda.feel.syntaxtree.Val>
toValue(Object x, Function<Object,org.camunda.feel.syntaxtree.Val> innerValueMapper)
Optional<Object>
unpackValue(org.camunda.feel.syntaxtree.Val value, Function<org.camunda.feel.syntaxtree.Val,Object> innerValueMapper)
-
-
-
Method Detail
-
toValue
public Optional<org.camunda.feel.syntaxtree.Val> toValue(Object x, Function<Object,org.camunda.feel.syntaxtree.Val> innerValueMapper)
- Specified by:
toValue
in classorg.camunda.feel.valuemapper.JavaCustomValueMapper
-
unpackValue
public Optional<Object> unpackValue(org.camunda.feel.syntaxtree.Val value, Function<org.camunda.feel.syntaxtree.Val,Object> innerValueMapper)
- Specified by:
unpackValue
in classorg.camunda.feel.valuemapper.JavaCustomValueMapper
-
priority
public int priority()
- Specified by:
priority
in interfaceorg.camunda.feel.valuemapper.CustomValueMapper
- Overrides:
priority
in classorg.camunda.feel.valuemapper.JavaCustomValueMapper
-
spinJsonToVal
protected org.camunda.feel.syntaxtree.Val spinJsonToVal(org.camunda.spin.json.SpinJsonNode node, Function<Object,org.camunda.feel.syntaxtree.Val> innerValueMapper)
-
spinXmlToVal
protected org.camunda.feel.syntaxtree.Val spinXmlToVal(org.camunda.spin.xml.SpinXmlElement element, Function<Object,org.camunda.feel.syntaxtree.Val> innerValueMapper)
-
spinXmlElementToVal
protected org.camunda.feel.syntaxtree.Val spinXmlElementToVal(org.camunda.spin.xml.SpinXmlElement e, Function<Object,org.camunda.feel.syntaxtree.Val> innerValueMapper)
-
spinXmlAttributeToKey
protected String spinXmlAttributeToKey(org.camunda.spin.xml.SpinXmlAttribute attribute)
-
nodeName
protected String nodeName(org.camunda.spin.xml.SpinXmlNode n)
-
-