Class BeanSerializerDelegator<T>

java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<T>
com.fasterxml.jackson.databind.ser.std.StdSerializer<Object>
com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
com.vaadin.flow.component.charts.model.serializers.BeanSerializerDelegator<T>
Type Parameters:
T -
All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, com.fasterxml.jackson.databind.jsonschema.SchemaAware, com.fasterxml.jackson.databind.ser.ContextualSerializer, com.fasterxml.jackson.databind.ser.ResolvableSerializer, Serializable

public class BeanSerializerDelegator<T> extends com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
Delegates serialization calls to the given instance of BeanSerializationDelegate. This class can be used instead of implementing BeanSerializerBase.
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.BeanSerializerBase

    _anyGetterWriter, _beanType, _filteredProps, _objectIdWriter, _propertyFilterId, _props, _serializationShape, _typeId, NAME_FOR_OBJECT_REF, NO_PROPS

    Fields inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer

    _handledType
  • Constructor Summary

    Constructors
    Constructor
    Description
    BeanSerializerDelegator(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase source)
     
    BeanSerializerDelegator(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase source, com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter objectIdWriter)
     
    BeanSerializerDelegator(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase source, BeanSerializationDelegate<T> delegate)
     
    BeanSerializerDelegator(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase source, Object filterId)
     
    BeanSerializerDelegator(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase source, String[] toIgnore)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
     
    void
    serialize(Object bean, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
     
    void
    serializeFields(Object bean, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider)
     
    protected com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
     
    com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
    withFilterId(Object filterId)
     
    protected com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
    withIgnorals(Set<String> toIgnore)
     
    com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
    withObjectIdWriter(com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter objectIdWriter)
     
    protected com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
    withProperties(com.fasterxml.jackson.databind.ser.BeanPropertyWriter[] beanPropertyWriters, com.fasterxml.jackson.databind.ser.BeanPropertyWriter[] beanPropertyWriters1)
     

    Methods inherited from class com.fasterxml.jackson.databind.ser.std.BeanSerializerBase

    _customTypeId, _serializeObjectId, _serializeWithObjectId, _serializeWithObjectId, _typeIdDef, acceptJsonFormatVisitor, createContextual, findConvertingSerializer, getSchema, properties, resolve, serializeFieldsFiltered, serializeWithType, usesObjectId, withIgnorals

    Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer

    _neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, 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, replaceDelegatee, unwrappingSerializer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.fasterxml.jackson.databind.jsonschema.SchemaAware

    getSchema
  • Constructor Details

    • BeanSerializerDelegator

      public BeanSerializerDelegator(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase source)
    • BeanSerializerDelegator

      public BeanSerializerDelegator(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase source, com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter objectIdWriter)
    • BeanSerializerDelegator

      public BeanSerializerDelegator(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase source, String[] toIgnore)
    • BeanSerializerDelegator

      public BeanSerializerDelegator(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase source, Object filterId)
    • BeanSerializerDelegator

      public BeanSerializerDelegator(com.fasterxml.jackson.databind.ser.std.BeanSerializerBase source, BeanSerializationDelegate<T> delegate)
  • Method Details

    • withObjectIdWriter

      public com.fasterxml.jackson.databind.ser.std.BeanSerializerBase withObjectIdWriter(com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter objectIdWriter)
      Specified by:
      withObjectIdWriter in class com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
    • withIgnorals

      protected com.fasterxml.jackson.databind.ser.std.BeanSerializerBase withIgnorals(Set<String> toIgnore)
      Overrides:
      withIgnorals in class com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
    • withByNameInclusion

      protected com.fasterxml.jackson.databind.ser.std.BeanSerializerBase withByNameInclusion(Set<String> set, Set<String> set1)
      Specified by:
      withByNameInclusion in class com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
    • withFilterId

      public com.fasterxml.jackson.databind.ser.std.BeanSerializerBase withFilterId(Object filterId)
      Specified by:
      withFilterId in class com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
    • withProperties

      protected com.fasterxml.jackson.databind.ser.std.BeanSerializerBase withProperties(com.fasterxml.jackson.databind.ser.BeanPropertyWriter[] beanPropertyWriters, com.fasterxml.jackson.databind.ser.BeanPropertyWriter[] beanPropertyWriters1)
      Specified by:
      withProperties in class com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
    • asArraySerializer

      protected com.fasterxml.jackson.databind.ser.std.BeanSerializerBase asArraySerializer()
      Specified by:
      asArraySerializer in class com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
    • serialize

      public void serialize(Object bean, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
      Specified by:
      serialize in class com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
      Throws:
      IOException
    • serializeFields

      public void serializeFields(Object bean, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException, com.fasterxml.jackson.core.JsonGenerationException
      Overrides:
      serializeFields in class com.fasterxml.jackson.databind.ser.std.BeanSerializerBase
      Throws:
      IOException
      com.fasterxml.jackson.core.JsonGenerationException