play.modules.morphia.utils
Class ModelFactoryGsonAdapter

java.lang.Object
  extended by play.modules.morphia.utils.ModelFactoryGsonAdapter
All Implemented Interfaces:
com.google.gson.JsonSerializer<Model.Factory>

public class ModelFactoryGsonAdapter
extends Object
implements com.google.gson.JsonSerializer<Model.Factory>

Created by IntelliJ IDEA. User: luog Date: 14/01/12 Time: 7:52 PM To change this template use File | Settings | File Templates.


Constructor Summary
ModelFactoryGsonAdapter()
           
 
Method Summary
 com.google.gson.JsonElement serialize(Model.Factory src, 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

ModelFactoryGsonAdapter

public ModelFactoryGsonAdapter()
Method Detail

serialize

public com.google.gson.JsonElement serialize(Model.Factory src,
                                             Type typeOfSrc,
                                             com.google.gson.JsonSerializationContext context)
Specified by:
serialize in interface com.google.gson.JsonSerializer<Model.Factory>


Copyright © 2012. All Rights Reserved.