org.jclouds.openstack.nova.v2_0.config
Class NovaParserModule.ServerAdapter

java.lang.Object
  extended by org.jclouds.openstack.nova.v2_0.config.NovaParserModule.ServerAdapter
All Implemented Interfaces:
com.google.gson.JsonDeserializer<Server>
Enclosing class:
NovaParserModule

@Singleton
public static class NovaParserModule.ServerAdapter
extends Object
implements com.google.gson.JsonDeserializer<Server>


Constructor Summary
NovaParserModule.ServerAdapter()
           
 
Method Summary
 Server apply(org.jclouds.openstack.nova.v2_0.config.NovaParserModule.ServerAdapter.ServerInternal in)
           
 Server 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

NovaParserModule.ServerAdapter

public NovaParserModule.ServerAdapter()
Method Detail

deserialize

public Server 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<Server>
Throws:
com.google.gson.JsonParseException

apply

public Server apply(org.jclouds.openstack.nova.v2_0.config.NovaParserModule.ServerAdapter.ServerInternal in)


Copyright © 2009-2012 jclouds. All Rights Reserved.