org.jclouds.gogrid.functions.internal
Class CustomDeserializers.ServerStateAdapter

java.lang.Object
  extended by org.jclouds.gogrid.functions.internal.CustomDeserializers.ServerStateAdapter
All Implemented Interfaces:
com.google.gson.JsonDeserializer<ServerState>
Enclosing class:
CustomDeserializers

public static class CustomDeserializers.ServerStateAdapter
extends Object
implements com.google.gson.JsonDeserializer<ServerState>


Constructor Summary
CustomDeserializers.ServerStateAdapter()
           
 
Method Summary
 ServerState deserialize(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomDeserializers.ServerStateAdapter

public CustomDeserializers.ServerStateAdapter()
Method Detail

deserialize

public ServerState deserialize(com.google.gson.JsonElement jsonElement,
                               Type type,
                               com.google.gson.JsonDeserializationContext context)
                        throws com.google.gson.JsonParseException
Specified by:
deserialize in interface com.google.gson.JsonDeserializer<ServerState>
Throws:
com.google.gson.JsonParseException


Copyright © 2009-2012 jclouds. All Rights Reserved.