Class WSDLInfoDTO.TypeEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<WSDLInfoDTO.TypeEnum>
org.wso2.am.integration.clients.publisher.api.v1.dto.WSDLInfoDTO.TypeEnum.Adapter
- Enclosing class:
WSDLInfoDTO.TypeEnum
public static class WSDLInfoDTO.TypeEnum.Adapter
extends com.google.gson.TypeAdapter<WSDLInfoDTO.TypeEnum>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader jsonReader) voidwrite(com.google.gson.stream.JsonWriter jsonWriter, WSDLInfoDTO.TypeEnum 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, WSDLInfoDTO.TypeEnum enumeration) throws IOException - Specified by:
writein classcom.google.gson.TypeAdapter<WSDLInfoDTO.TypeEnum>- Throws:
IOException
-
read
- Specified by:
readin classcom.google.gson.TypeAdapter<WSDLInfoDTO.TypeEnum>- Throws:
IOException
-