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