Package ca.uqac.lif.cep.json
Class StringValue
- java.lang.Object
-
- ca.uqac.lif.cep.functions.Function
-
- ca.uqac.lif.cep.functions.UnaryFunction<ca.uqac.lif.json.JsonElement,java.lang.String>
-
- ca.uqac.lif.cep.json.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
-
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
-
-
-
-
Field Detail
-
instance
public static final transient StringValue instance
-
-