ccc.plugins.s11n.json
Class ActionSummarySerializer

java.lang.Object
  extended by ccc.plugins.s11n.json.ActionSummarySerializer
All Implemented Interfaces:
Serializer<ActionSummary>

public class ActionSummarySerializer
extends java.lang.Object
implements Serializer<ActionSummary>

Serializer for ActionSummarys.

Author:
Civic Computing Ltd.

Constructor Summary
ActionSummarySerializer()
           
 
Method Summary
 ActionSummary read(Json json)
          Deserialize from a representation.
 Json write(Json json, ActionSummary instance)
          Serialize to representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionSummarySerializer

public ActionSummarySerializer()
Method Detail

read

public ActionSummary read(Json json)
Deserialize from a representation.

Specified by:
read in interface Serializer<ActionSummary>
Parameters:
json - The wire representation.
Returns:
The corresponding object.

write

public Json write(Json json,
                  ActionSummary instance)
Serialize to representation.

Specified by:
write in interface Serializer<ActionSummary>
Parameters:
json - The wire representation.
instance - The object to serialize.
Returns:
Returns the 'json' input param if the 'instance' param is not NULL; returns NULL otherwise.


Copyright © 2010. All Rights Reserved.