Class 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)  
      • Methods inherited from class org.camunda.feel.valuemapper.JavaCustomValueMapper

        org$camunda$feel$valuemapper$CustomValueMapper$_setter_$priority_$eq, toVal, unpackVal
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpinValueMapper

        public SpinValueMapper()
    • 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 class org.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 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,
                                                                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)