Class SpinValueMapper

  • All Implemented Interfaces:
    org.camunda.feel.valuemapper.CustomValueMapper

    public class SpinValueMapper
    extends org.camunda.feel.valuemapper.JavaCustomValueMapper
    • Constructor Detail

      • SpinValueMapper

        public SpinValueMapper()
    • 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 class org.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 class org.camunda.feel.valuemapper.JavaCustomValueMapper
      • priority

        public int priority()
        Specified by:
        priority in interface org.camunda.feel.valuemapper.CustomValueMapper
        Overrides:
        priority in class org.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)