com.googlecode.jpattern.gwt.client.serializer
Class NullObjectSerializer<T>

java.lang.Object
  extended by com.googlecode.jpattern.gwt.client.serializer.NullObjectSerializer<T>
Type Parameters:
T -
All Implemented Interfaces:
IObjectSerializer<T>

public class NullObjectSerializer<T>
extends Object
implements IObjectSerializer<T>

Author:
cinafr

Constructor Summary
NullObjectSerializer(Class<T> aClass)
           
 
Method Summary
 T deserialize(String json)
           
 Class<T> getSerializerClass()
           
 String serialize(T bean)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullObjectSerializer

public NullObjectSerializer(Class<T> aClass)
Method Detail

serialize

public String serialize(T bean)
Specified by:
serialize in interface IObjectSerializer<T>

deserialize

public T deserialize(String json)
Specified by:
deserialize in interface IObjectSerializer<T>

getSerializerClass

public Class<T> getSerializerClass()
Specified by:
getSerializerClass in interface IObjectSerializer<T>


Copyright © 2011. All Rights Reserved.