You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.charts.model.serializers.

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:

    Serialized Form

    • 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
    • Method Summary

      All Methods
      Modifier and Type Method Description
      protected com.fasterxml.jackson.databind.ser.std.BeanSerializerBase asArraySerializer()  
      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 withByNameInclusion​(Set<String> set, Set<String> set1)  
      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 interface com.fasterxml.jackson.databind.jsonschema.SchemaAware

        getSchema
    • Constructor Detail

      • 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 Detail

      • 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