Class CalendarEventSerializer

java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<T>
com.fasterxml.jackson.databind.ser.std.StdSerializer<CalendarEvent>
io.jmix.fullcalendarflowui.component.serialization.CalendarEventSerializer
All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, com.fasterxml.jackson.databind.jsonschema.SchemaAware, Serializable

public class CalendarEventSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<CalendarEvent>
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
    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 com.fasterxml.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
    void
    serialize(CalendarEvent value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider)
     
    protected void
    serializeCrossDataProviderField(String property, Object value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider)
     
    protected void
    serializeNullableValue(String property, Object value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider)
     
    void
     

    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

    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, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
      Specified by:
      serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<CalendarEvent>
      Throws:
      IOException
    • serializeCrossDataProviderField

      protected void serializeCrossDataProviderField(String property, @Nullable Object value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
      Throws:
      IOException
    • serializeNullableValue

      protected void serializeNullableValue(String property, @Nullable Object value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
      Throws:
      IOException