Class StringValue

  • All Implemented Interfaces:
    ca.uqac.lif.azrael.Printable, ca.uqac.lif.azrael.Readable, ca.uqac.lif.cep.Duplicable, ca.uqac.lif.cep.functions.DuplicableFunction

    public class StringValue
    extends ca.uqac.lif.cep.functions.UnaryFunction<ca.uqac.lif.json.JsonElement,​java.lang.String>
    Extracts a number value from a JSON element.
    Author:
    Sylvain Hallé
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static StringValue instance  
      • Fields inherited from class ca.uqac.lif.cep.functions.Function

        s_maxInputArity
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected StringValue()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getValue​(ca.uqac.lif.json.JsonElement x)  
      • Methods inherited from class ca.uqac.lif.cep.functions.UnaryFunction

        duplicate, evaluate, getInputArity, getInputTypesFor, getOutputArity, getOutputTypeFor, reset
      • Methods inherited from class ca.uqac.lif.cep.functions.Function

        duplicate, evaluate, evaluate, evaluateLazy, evaluatePartial, print, printState, read, readState
      • Methods inherited from class java.lang.Object

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

      • instance

        public static final transient StringValue instance
    • Constructor Detail

      • StringValue

        protected StringValue()
    • Method Detail

      • getValue

        public java.lang.String getValue​(ca.uqac.lif.json.JsonElement x)
        Specified by:
        getValue in class ca.uqac.lif.cep.functions.UnaryFunction<ca.uqac.lif.json.JsonElement,​java.lang.String>