org.jclouds.cloudstack.config
Class CloudStackParserModule.BreakGenericSetAdapter

java.lang.Object
  extended by org.jclouds.cloudstack.config.CloudStackParserModule.BreakGenericSetAdapter
All Implemented Interfaces:
com.google.gson.JsonDeserializer<Account>, com.google.gson.JsonSerializer<Account>
Enclosing class:
CloudStackParserModule

@Singleton
public static class CloudStackParserModule.BreakGenericSetAdapter
extends Object
implements com.google.gson.JsonSerializer<Account>, com.google.gson.JsonDeserializer<Account>


Constructor Summary
CloudStackParserModule.BreakGenericSetAdapter()
           
 
Method Summary
 Account apply(org.jclouds.cloudstack.config.CloudStackParserModule.BreakGenericSetAdapter.AccountInternal in)
           
 Account deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context)
           
 com.google.gson.JsonElement serialize(Account 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

CloudStackParserModule.BreakGenericSetAdapter

public CloudStackParserModule.BreakGenericSetAdapter()
Method Detail

serialize

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

deserialize

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

apply

public Account apply(org.jclouds.cloudstack.config.CloudStackParserModule.BreakGenericSetAdapter.AccountInternal in)


Copyright © 2009-2012 jclouds. All Rights Reserved.