com.vaadin.terminal.gwt.client.communication
Class URLReference_Serializer
java.lang.Object
com.vaadin.terminal.gwt.client.communication.URLReference_Serializer
- All Implemented Interfaces:
- JSONSerializer<URLReference>
public class URLReference_Serializer
- extends Object
- implements JSONSerializer<URLReference>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLReference_Serializer
public URLReference_Serializer()
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.