org.jclouds.openstack.keystone.v2_0.config
Class KeystoneParserModule.ValuesSetTypeAdapterFactory.Adapter<E>

java.lang.Object
  extended by com.google.gson.TypeAdapter<Set<E>>
      extended by org.jclouds.openstack.keystone.v2_0.config.KeystoneParserModule.ValuesSetTypeAdapterFactory.Adapter<E>
Enclosing class:
KeystoneParserModule.ValuesSetTypeAdapterFactory

public static final class KeystoneParserModule.ValuesSetTypeAdapterFactory.Adapter<E>
extends com.google.gson.TypeAdapter<Set<E>>


Constructor Summary
KeystoneParserModule.ValuesSetTypeAdapterFactory.Adapter(com.google.gson.TypeAdapter<E> elementAdapter)
           
 
Method Summary
 Set<E> read(com.google.gson.stream.JsonReader in)
           
 void write(com.google.gson.stream.JsonWriter out, Set<E> value)
           
 
Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeystoneParserModule.ValuesSetTypeAdapterFactory.Adapter

public KeystoneParserModule.ValuesSetTypeAdapterFactory.Adapter(com.google.gson.TypeAdapter<E> elementAdapter)
Method Detail

write

public void write(com.google.gson.stream.JsonWriter out,
                  Set<E> value)
           throws IOException
Specified by:
write in class com.google.gson.TypeAdapter<Set<E>>
Throws:
IOException

read

public Set<E> read(com.google.gson.stream.JsonReader in)
            throws IOException
Specified by:
read in class com.google.gson.TypeAdapter<Set<E>>
Throws:
IOException


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.