|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.server.communication.DateSerializer
public class DateSerializer
Server side serializer/deserializer for java.util.Date
| Constructor Summary | |
|---|---|
DateSerializer()
|
|
| Method Summary | |
|---|---|
java.util.Date |
deserialize(java.lang.reflect.Type type,
java.lang.Object jsonValue,
ConnectorTracker connectorTracker)
Creates and deserializes an object received from the client. |
java.lang.Object |
serialize(java.util.Date value,
ConnectorTracker connectorTracker)
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 DateSerializer()
| Method Detail |
|---|
public java.util.Date deserialize(java.lang.reflect.Type type,
java.lang.Object jsonValue,
ConnectorTracker connectorTracker)
JSONSerializerJSONSerializer.serialize(Object, ConnectorTracker) and also
with the client side com.vaadin.client.communication.JSONSerializer.
The json parameter is of type Object as org.json JSON classes have no other common super class
deserialize in interface JSONSerializer<java.util.Date>type - The expected return typejsonValue - the value from the JSONconnectorTracker - the connector tracker instance for the UI
public java.lang.Object serialize(java.util.Date value,
ConnectorTracker connectorTracker)
JSONSerializer#deserialize(Object, connectorTracker) and the client side
com.vaadin.client.communication.JSONSerializer
serialize in interface JSONSerializer<java.util.Date>value - The object to serializeconnectorTracker - The connector tracker instance for the UI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||