Class XMLEnumTypeAdapter<T>


  • public class XMLEnumTypeAdapter<T>
    extends com.google.gson.TypeAdapter<T>
    • Constructor Detail

      • XMLEnumTypeAdapter

        public XMLEnumTypeAdapter​(Class clazz)
    • Method Detail

      • write

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

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