Package com.walkfares.odsl.var.adaptor
Class VarExpiryCalendarAdaptor
java.lang.Object
com.walkfares.odsl.var.adaptor.VarExpiryCalendarAdaptor
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<VarExpiryCalendar>
,com.google.gson.JsonSerializer<VarExpiryCalendar>
public class VarExpiryCalendarAdaptor extends Object implements com.google.gson.JsonSerializer<VarExpiryCalendar>, com.google.gson.JsonDeserializer<VarExpiryCalendar>
-
Constructor Summary
Constructors Constructor Description VarExpiryCalendarAdaptor()
-
Method Summary
Modifier and Type Method Description VarExpiryCalendar
deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context)
com.google.gson.JsonElement
serialize(VarExpiryCalendar src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
VarExpiryCalendarAdaptor
setContextContainer(ContextContainer contextContainer)
-
Constructor Details
-
VarExpiryCalendarAdaptor
public VarExpiryCalendarAdaptor()
-
-
Method Details
-
setContextContainer
-
deserialize
public VarExpiryCalendar deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException- Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<VarExpiryCalendar>
- Throws:
com.google.gson.JsonParseException
-
serialize
public com.google.gson.JsonElement serialize(VarExpiryCalendar src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)- Specified by:
serialize
in interfacecom.google.gson.JsonSerializer<VarExpiryCalendar>
-