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