com.vaadin.terminal.gwt.client.communication
Class URLReference_Serializer

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

public class URLReference_Serializer
extends Object
implements JSONSerializer<URLReference>


Constructor Summary
URLReference_Serializer()
           
 
Method Summary
 URLReference deserialize(Type type, com.google.gwt.json.client.JSONValue jsonValue, ApplicationConnection connection)
          Creates and deserializes an object received from the server.
 com.google.gwt.json.client.JSONValue serialize(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 URLReference deserialize(Type type,
                                com.google.gwt.json.client.JSONValue jsonValue,
                                ApplicationConnection connection)
Description copied from interface: JSONSerializer
Creates and deserializes an object received from the server. Must be compatible with #serialize(Object, ConnectorMap) and also with the server side JsonCodec#encode(Object, com.vaadin.terminal.gwt.server.PaintableIdMapper) .

Specified by:
deserialize in interface JSONSerializer<URLReference>
jsonValue - JSON map from property name to property value
Returns:
A deserialized object

serialize

public com.google.gwt.json.client.JSONValue serialize(URLReference value,
                                                      ApplicationConnection connection)
Description copied from interface: JSONSerializer
Serialize the given object into JSON. Must be compatible with #deserialize(JSONObject, ConnectorMap) and also with the server side JsonCodec#decode(com.vaadin.external.json.JSONArray, com.vaadin.terminal.gwt.server.PaintableIdMapper)

Specified by:
serialize in interface JSONSerializer<URLReference>
Parameters:
value - The object to serialize
Returns:
A JSON serialized version of the object


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