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 java.lang.String
nodeName(org.camunda.spin.xml.SpinXmlNode n)
int
priority()
protected org.camunda.feel.syntaxtree.Val
spinJsonToVal(org.camunda.spin.json.SpinJsonNode node, java.util.function.Function<java.lang.Object,org.camunda.feel.syntaxtree.Val> innerValueMapper)
protected java.lang.String
spinXmlAttributeToKey(org.camunda.spin.xml.SpinXmlAttribute attribute)
protected org.camunda.feel.syntaxtree.Val
spinXmlElementToVal(org.camunda.spin.xml.SpinXmlElement e, java.util.function.Function<java.lang.Object,org.camunda.feel.syntaxtree.Val> innerValueMapper)
protected org.camunda.feel.syntaxtree.Val
spinXmlToVal(org.camunda.spin.xml.SpinXmlElement element, java.util.function.Function<java.lang.Object,org.camunda.feel.syntaxtree.Val> innerValueMapper)
java.util.Optional<org.camunda.feel.syntaxtree.Val>
toValue(java.lang.Object x, java.util.function.Function<java.lang.Object,org.camunda.feel.syntaxtree.Val> innerValueMapper)
java.util.Optional<java.lang.Object>
unpackValue(org.camunda.feel.syntaxtree.Val value, java.util.function.Function<org.camunda.feel.syntaxtree.Val,java.lang.Object> innerValueMapper)
-
-
-
Method Detail
-
toValue
public java.util.Optional<org.camunda.feel.syntaxtree.Val> toValue(java.lang.Object x, java.util.function.Function<java.lang.Object,org.camunda.feel.syntaxtree.Val> innerValueMapper)
- Specified by:
toValue
in classorg.camunda.feel.valuemapper.JavaCustomValueMapper
-
unpackValue
public java.util.Optional<java.lang.Object> unpackValue(org.camunda.feel.syntaxtree.Val value, java.util.function.Function<org.camunda.feel.syntaxtree.Val,java.lang.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, java.util.function.Function<java.lang.Object,org.camunda.feel.syntaxtree.Val> innerValueMapper)
-
spinXmlToVal
protected org.camunda.feel.syntaxtree.Val spinXmlToVal(org.camunda.spin.xml.SpinXmlElement element, java.util.function.Function<java.lang.Object,org.camunda.feel.syntaxtree.Val> innerValueMapper)
-
spinXmlElementToVal
protected org.camunda.feel.syntaxtree.Val spinXmlElementToVal(org.camunda.spin.xml.SpinXmlElement e, java.util.function.Function<java.lang.Object,org.camunda.feel.syntaxtree.Val> innerValueMapper)
-
spinXmlAttributeToKey
protected java.lang.String spinXmlAttributeToKey(org.camunda.spin.xml.SpinXmlAttribute attribute)
-
nodeName
protected java.lang.String nodeName(org.camunda.spin.xml.SpinXmlNode n)
-
-