Package ca.uqac.lif.cep.serialization
Class JsonDeserialize<U>
- java.lang.Object
-
- ca.uqac.lif.cep.functions.Function
-
- ca.uqac.lif.cep.serialization.DeserializeEvents<ca.uqac.lif.json.JsonElement,U>
-
- ca.uqac.lif.cep.serialization.JsonDeserialize<U>
-
- Type Parameters:
U
- The type of the deserialized objects
- 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 JsonDeserialize<U> extends DeserializeEvents<ca.uqac.lif.json.JsonElement,U>
Function that deserializes a JSON element into an object- Author:
- Sylvain Hallé
-
-
Field Summary
-
Fields inherited from class ca.uqac.lif.cep.serialization.DeserializeEvents
m_inputType, m_outputType, m_serializer
-
-
Constructor Summary
Constructors Constructor Description JsonDeserialize(java.lang.Class<U> output_type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getInputTypesFor(java.util.Set<java.lang.Class<?>> classes, int index)
-
Methods inherited from class ca.uqac.lif.cep.serialization.DeserializeEvents
duplicate, evaluate, evaluate, getInputArity, getOutputArity, getOutputTypeFor, reset
-
-
-
-
Constructor Detail
-
JsonDeserialize
public JsonDeserialize(java.lang.Class<U> output_type)
-
-
Method Detail
-
getInputTypesFor
public void getInputTypesFor(java.util.Set<java.lang.Class<?>> classes, int index)
- Overrides:
getInputTypesFor
in classDeserializeEvents<ca.uqac.lif.json.JsonElement,U>
-
-