Class JacksonLocalTimeSerializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<T>
com.fasterxml.jackson.databind.ser.std.StdSerializer<T>
com.sap.cloud.sdk.s4hana.datamodel.odata.adapter.AbstractJacksonCalendarSerializer<LocalTime>
com.sap.cloud.sdk.s4hana.datamodel.odata.adapter.JacksonLocalTimeSerializer
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
,com.fasterxml.jackson.databind.jsonschema.SchemaAware
,Serializable
Jackson deserializer that is able to write
LocalTime
fields, based on a common logic writing a
Calendar
.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
com.fasterxml.jackson.databind.JsonSerializer.None
-
Field Summary
Fields inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
_handledType
-
Constructor Summary
ModifierConstructorDescriptionprotected
Default constructor needed by the framework. -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractTypeConverter<LocalTime,
Calendar> Getter for an instance of the common conversion logic from and toCalendar
.protected AbstractTypeConverter<String,
Calendar> Getter for the conversion of a Calendar object into a String.Methods inherited from class com.sap.cloud.sdk.s4hana.datamodel.odata.adapter.AbstractJacksonCalendarSerializer
serialize
Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer
_neitherNull, _nonEmpty, acceptJsonFormatVisitor, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow
Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer
getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties
-
Constructor Details
-
JacksonLocalTimeSerializer
protected JacksonLocalTimeSerializer()Default constructor needed by the framework.
-
-
Method Details
-
getConverterInstance
Description copied from class:AbstractJacksonCalendarSerializer
Getter for an instance of the common conversion logic from and toCalendar
.- Specified by:
getConverterInstance
in classAbstractJacksonCalendarSerializer<LocalTime>
- Returns:
- The conversion logic for this serializer.
-
getStringCalendarConverterInstance
Description copied from class:AbstractJacksonCalendarSerializer
Getter for the conversion of a Calendar object into a String. The selection of implementation depends on what kind of date object the string value should represent.- Specified by:
getStringCalendarConverterInstance
in classAbstractJacksonCalendarSerializer<LocalTime>
- Returns:
AbstractTypeConverter
instance that converts a Calendar into a String.
-