com.vaadin.client.communication
Class URLReference_Serializer

java.lang.Object
  extended by com.vaadin.client.communication.URLReference_Serializer
All Implemented Interfaces:
JSONSerializer<com.vaadin.shared.communication.URLReference>

public class URLReference_Serializer
extends java.lang.Object
implements JSONSerializer<com.vaadin.shared.communication.URLReference>


Constructor Summary
URLReference_Serializer()
           
 
Method Summary
 com.vaadin.shared.communication.URLReference deserialize(Type type, elemental.json.JsonValue jsonValue, ApplicationConnection connection)
          Creates and deserializes an object received from the server.
 elemental.json.JsonValue serialize(com.vaadin.shared.communication.URLReference value, ApplicationConnection connection)
          Serialize the given object into JSON.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLReference_Serializer

public URLReference_Serializer()
Method Detail

deserialize

public com.vaadin.shared.communication.URLReference deserialize(Type type,
                                                                elemental.json.JsonValue jsonValue,
                                                                ApplicationConnection connection)
Description copied from interface: JSONSerializer
Creates and deserializes an object received from the server. Must be compatible with JSONSerializer.serialize(Object, ApplicationConnection) and also with the server side JsonCodec.encode method.

Specified by:
deserialize in interface JSONSerializer<com.vaadin.shared.communication.URLReference>
Parameters:
type - the type to deserialize
jsonValue - JSON map from property name to property value
connection - the application connection providing the context
Returns:
A deserialized object

serialize

public elemental.json.JsonValue serialize(com.vaadin.shared.communication.URLReference value,
                                          ApplicationConnection connection)
Description copied from interface: JSONSerializer
Serialize the given object into JSON. Must be compatible with JSONSerializer.deserialize(Type, JsonValue, ApplicationConnection) and also with the server side JsonCodec.decodeCustomType method.

Specified by:
serialize in interface JSONSerializer<com.vaadin.shared.communication.URLReference>
Parameters:
value - The object to serialize
connection - the application connection providing the context
Returns:
A JSON serialized version of the object


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.