Class CalendarEventSerializer

java.lang.Object
tools.jackson.databind.ValueSerializer<CalendarEvent>
tools.jackson.databind.ser.std.StdSerializer<CalendarEvent>
io.jmix.fullcalendarflowui.component.serialization.CalendarEventSerializer
All Implemented Interfaces:
tools.jackson.databind.jsonFormatVisitors.JsonFormatVisitable

public class CalendarEventSerializer extends tools.jackson.databind.ser.std.StdSerializer<CalendarEvent>
  • Nested Class Summary

    Nested classes/interfaces inherited from class tools.jackson.databind.ValueSerializer

    tools.jackson.databind.ValueSerializer.None
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final com.vaadin.flow.data.provider.KeyMapper<Object>
     
    protected com.vaadin.flow.data.provider.KeyMapper<Object>
     
    protected String
     
    protected Supplier<TimeZone>
     

    Fields inherited from class tools.jackson.databind.ser.std.StdSerializer

    _handledType
  • Constructor Summary

    Constructors
    Constructor
    Description
    CalendarEventSerializer(String sourceId, com.vaadin.flow.data.provider.KeyMapper<Object> idMapper, com.vaadin.flow.data.provider.KeyMapper<Object> crossDataProviderKeyMapper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
     
    protected @Nullable Map<String,Object>
    processAdditionalProperties(@Nullable Map<String,Object> additionalProperties)
     
    void
    serialize(CalendarEvent value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext provider)
     
    protected void
    serializeCrossDataProviderField(String property, @Nullable Object value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext provider)
     
    protected void
    serializeNullableValue(String property, @Nullable Object value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext provider)
     
    void
     

    Methods inherited from class tools.jackson.databind.ser.std.StdSerializer

    _neitherNull, _nonEmpty, _wrapIOFailure, acceptJsonFormatVisitor, acceptJsonFormatVisitorForBinary, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow

    Methods inherited from class tools.jackson.databind.ValueSerializer

    createContextual, getDelegatee, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, resolve, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withFormatOverrides, withIgnoredProperties

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • timeZoneSupplier

      protected Supplier<TimeZone> timeZoneSupplier
    • crossDataProviderKeyMapper

      protected final com.vaadin.flow.data.provider.KeyMapper<Object> crossDataProviderKeyMapper
    • idMapper

      protected com.vaadin.flow.data.provider.KeyMapper<Object> idMapper
    • sourceId

      protected String sourceId
  • Constructor Details

    • CalendarEventSerializer

      public CalendarEventSerializer(String sourceId, com.vaadin.flow.data.provider.KeyMapper<Object> idMapper, com.vaadin.flow.data.provider.KeyMapper<Object> crossDataProviderKeyMapper)
  • Method Details

    • setTimeZoneSupplier

      public void setTimeZoneSupplier(Supplier<TimeZone> timeZoneSupplier)
    • serialize

      public void serialize(CalendarEvent value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext provider)
      Specified by:
      serialize in class tools.jackson.databind.ser.std.StdSerializer<CalendarEvent>
    • serializeCrossDataProviderField

      protected void serializeCrossDataProviderField(String property, @Nullable Object value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext provider)
    • serializeNullableValue

      protected void serializeNullableValue(String property, @Nullable Object value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext provider)
    • processAdditionalProperties

      protected @Nullable Map<String,Object> processAdditionalProperties(@Nullable Map<String,Object> additionalProperties)
    • formatAdditionalPropertiesKey

      protected String formatAdditionalPropertiesKey(String key)