Package com.vaadin.client.communication
Class URLReference_Serializer
- java.lang.Object
-
- com.vaadin.client.communication.URLReference_Serializer
-
- All Implemented Interfaces:
JSONSerializer<URLReference>
public class URLReference_Serializer extends Object implements JSONSerializer<URLReference>
-
-
Constructor Summary
Constructors Constructor Description URLReference_Serializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URLReference
deserialize(Type type, JsonValue jsonValue, ApplicationConnection connection)
Creates and deserializes an object received from the server.JsonValue
serialize(URLReference value, ApplicationConnection connection)
Serialize the given object into JSON.
-
-
-
Method Detail
-
deserialize
public URLReference deserialize(Type type, JsonValue jsonValue, ApplicationConnection connection)
Description copied from interface:JSONSerializer
Creates and deserializes an object received from the server. Must be compatible withJSONSerializer.serialize(Object, ApplicationConnection)
and also with the server side JsonCodec.encode method.- Specified by:
deserialize
in interfaceJSONSerializer<URLReference>
- Parameters:
type
- the type to deserializejsonValue
- JSON map from property name to property valueconnection
- the application connection providing the context- Returns:
- A deserialized object
-
serialize
public JsonValue serialize(URLReference value, ApplicationConnection connection)
Description copied from interface:JSONSerializer
Serialize the given object into JSON. Must be compatible withJSONSerializer.deserialize(Type, JsonValue, ApplicationConnection)
and also with the server side JsonCodec.decodeCustomType method.- Specified by:
serialize
in interfaceJSONSerializer<URLReference>
- Parameters:
value
- The object to serializeconnection
- the application connection providing the context- Returns:
- A JSON serialized version of the object
-
-