Class ValueListData.ValueSpecificationEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<ValueListData.ValueSpecificationEnum>
de.iip_ecosphere.platform.support.semanticId.eclass.model.ValueListData.ValueSpecificationEnum.Adapter
- Enclosing class:
ValueListData.ValueSpecificationEnum
public static class ValueListData.ValueSpecificationEnum.Adapter
extends com.google.gson.TypeAdapter<ValueListData.ValueSpecificationEnum>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader jsonReader) voidwrite(com.google.gson.stream.JsonWriter jsonWriter, ValueListData.ValueSpecificationEnum enumeration) Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Constructor Details
-
Adapter
public Adapter()
-
-
Method Details
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, ValueListData.ValueSpecificationEnum enumeration) throws IOException - Specified by:
writein classcom.google.gson.TypeAdapter<ValueListData.ValueSpecificationEnum>- Throws:
IOException
-
read
public ValueListData.ValueSpecificationEnum read(com.google.gson.stream.JsonReader jsonReader) throws IOException - Specified by:
readin classcom.google.gson.TypeAdapter<ValueListData.ValueSpecificationEnum>- Throws:
IOException
-