net.handle.hdllib
Class GsonUtility.ResponseGsonTypeHierarchyAdapter

java.lang.Object
  extended by net.handle.hdllib.GsonUtility.ResponseGsonTypeHierarchyAdapter
All Implemented Interfaces:
com.google.gson.JsonSerializer<AbstractResponse>
Enclosing class:
GsonUtility

public static class GsonUtility.ResponseGsonTypeHierarchyAdapter
extends java.lang.Object
implements com.google.gson.JsonSerializer<AbstractResponse>


Constructor Summary
GsonUtility.ResponseGsonTypeHierarchyAdapter()
           
 
Method Summary
 com.google.gson.JsonElement serialize(AbstractResponse resp, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GsonUtility.ResponseGsonTypeHierarchyAdapter

public GsonUtility.ResponseGsonTypeHierarchyAdapter()
Method Detail

serialize

public com.google.gson.JsonElement serialize(AbstractResponse resp,
                                             java.lang.reflect.Type typeOfSrc,
                                             com.google.gson.JsonSerializationContext context)
Specified by:
serialize in interface com.google.gson.JsonSerializer<AbstractResponse>