|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.client.communication.Date_Serializer
public class Date_Serializer
Client side serializer/deserializer for java.util.Date
| Constructor Summary | |
|---|---|
Date_Serializer()
|
|
| Method Summary | |
|---|---|
java.util.Date |
deserialize(Type type,
JSONValue jsonValue,
ApplicationConnection connection)
Creates and deserializes an object received from the server. |
JSONValue |
serialize(java.util.Date 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 |
|---|
public Date_Serializer()
| Method Detail |
|---|
public java.util.Date deserialize(Type type,
JSONValue jsonValue,
ApplicationConnection connection)
JSONSerializerJSONSerializer.serialize(Object, ApplicationConnection) and
also with the server side JsonCodec.encode method.
deserialize in interface JSONSerializer<java.util.Date>type - the type to deserializejsonValue - JSON map from property name to property valueconnection - the application connection providing the context
public JSONValue serialize(java.util.Date value,
ApplicationConnection connection)
JSONSerializerJSONSerializer.deserialize(Type, JSONValue, ApplicationConnection) and also
with the server side JsonCodec.decodeCustomType method.
serialize in interface JSONSerializer<java.util.Date>value - The object to serializeconnection - the application connection providing the context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||