Class BeanSerializerDelegator<T>
java.lang.Object
tools.jackson.databind.ValueSerializer<T>
tools.jackson.databind.ser.std.StdSerializer<Object>
tools.jackson.databind.ser.bean.BeanSerializerBase
com.vaadin.flow.component.charts.model.serializers.BeanSerializerDelegator<T>
- Type Parameters:
T-
- All Implemented Interfaces:
tools.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
public class BeanSerializerDelegator<T>
extends tools.jackson.databind.ser.bean.BeanSerializerBase
Delegates serialization calls to the given instance of
BeanSerializationDelegate. This class can be used instead of
implementing BeanSerializerBase.-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.databind.ValueSerializer
tools.jackson.databind.ValueSerializer.None -
Field Summary
Fields inherited from class tools.jackson.databind.ser.bean.BeanSerializerBase
_beanType, _filteredProps, _objectIdWriter, _propertyFilterId, _props, _serializationShape, _typeId, NAME_FOR_OBJECT_REF, NO_PROPSFields inherited from class tools.jackson.databind.ser.std.StdSerializer
_handledType -
Constructor Summary
ConstructorsConstructorDescriptionBeanSerializerDelegator(tools.jackson.databind.ser.bean.BeanSerializerBase source) BeanSerializerDelegator(tools.jackson.databind.ser.bean.BeanSerializerBase source, BeanSerializationDelegate<T> delegate) BeanSerializerDelegator(tools.jackson.databind.ser.bean.BeanSerializerBase source, Object filterId) BeanSerializerDelegator(tools.jackson.databind.ser.bean.BeanSerializerBase source, tools.jackson.databind.ser.impl.ObjectIdWriter objectIdWriter) -
Method Summary
Modifier and TypeMethodDescriptionprotected tools.jackson.databind.ser.bean.BeanSerializerBasevoidserialize(Object bean, tools.jackson.core.JsonGenerator jgen, tools.jackson.databind.SerializationContext provider) voidserializeProperties(Object bean, tools.jackson.core.JsonGenerator jgen, tools.jackson.databind.SerializationContext provider) tools.jackson.databind.ValueSerializer<Object>unwrappingSerializer(tools.jackson.databind.util.NameTransformer unwrapper) protected tools.jackson.databind.ser.bean.BeanSerializerBasewithByNameInclusion(Set<String> set, Set<String> set1) tools.jackson.databind.ser.bean.BeanSerializerBasewithFilterId(Object filterId) tools.jackson.databind.ser.bean.BeanSerializerBasewithObjectIdWriter(tools.jackson.databind.ser.impl.ObjectIdWriter objectIdWriter) protected tools.jackson.databind.ser.bean.BeanSerializerBasewithProperties(tools.jackson.databind.ser.BeanPropertyWriter[] beanPropertyWriters, tools.jackson.databind.ser.BeanPropertyWriter[] beanPropertyWriters1) Methods inherited from class tools.jackson.databind.ser.bean.BeanSerializerBase
_serializeObjectId, _serializeProperties, _serializePropertiesFiltered, _serializePropertiesMaybeView, _serializePropertiesNoView, _serializeWithObjectId, _serializeWithObjectId, _typeIdDef, acceptJsonFormatVisitor, canCreateArraySerializer, createContextual, findConvertingSerializer, getFilterId, hasViewProperties, properties, propertyCount, resolve, serializeWithType, toString, usesObjectIdMethods inherited from class tools.jackson.databind.ser.std.StdSerializer
_neitherNull, _nonEmpty, _wrapIOFailure, acceptJsonFormatVisitorForBinary, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrowMethods inherited from class tools.jackson.databind.ValueSerializer
getDelegatee, isEmpty, isUnwrappingSerializer, replaceDelegatee, withFormatOverrides, withIgnoredProperties
-
Constructor Details
-
BeanSerializerDelegator
public BeanSerializerDelegator(tools.jackson.databind.ser.bean.BeanSerializerBase source) -
BeanSerializerDelegator
public BeanSerializerDelegator(tools.jackson.databind.ser.bean.BeanSerializerBase source, tools.jackson.databind.ser.impl.ObjectIdWriter objectIdWriter) -
BeanSerializerDelegator
public BeanSerializerDelegator(tools.jackson.databind.ser.bean.BeanSerializerBase source, Object filterId) -
BeanSerializerDelegator
public BeanSerializerDelegator(tools.jackson.databind.ser.bean.BeanSerializerBase source, BeanSerializationDelegate<T> delegate)
-
-
Method Details
-
withObjectIdWriter
public tools.jackson.databind.ser.bean.BeanSerializerBase withObjectIdWriter(tools.jackson.databind.ser.impl.ObjectIdWriter objectIdWriter) - Specified by:
withObjectIdWriterin classtools.jackson.databind.ser.bean.BeanSerializerBase
-
withByNameInclusion
protected tools.jackson.databind.ser.bean.BeanSerializerBase withByNameInclusion(Set<String> set, Set<String> set1) - Specified by:
withByNameInclusionin classtools.jackson.databind.ser.bean.BeanSerializerBase
-
withFilterId
- Specified by:
withFilterIdin classtools.jackson.databind.ser.bean.BeanSerializerBase
-
withProperties
protected tools.jackson.databind.ser.bean.BeanSerializerBase withProperties(tools.jackson.databind.ser.BeanPropertyWriter[] beanPropertyWriters, tools.jackson.databind.ser.BeanPropertyWriter[] beanPropertyWriters1) - Specified by:
withPropertiesin classtools.jackson.databind.ser.bean.BeanSerializerBase
-
asArraySerializer
protected tools.jackson.databind.ser.bean.BeanSerializerBase asArraySerializer()- Specified by:
asArraySerializerin classtools.jackson.databind.ser.bean.BeanSerializerBase
-
serialize
public void serialize(Object bean, tools.jackson.core.JsonGenerator jgen, tools.jackson.databind.SerializationContext provider) - Specified by:
serializein classtools.jackson.databind.ser.bean.BeanSerializerBase
-
unwrappingSerializer
public tools.jackson.databind.ValueSerializer<Object> unwrappingSerializer(tools.jackson.databind.util.NameTransformer unwrapper) - Specified by:
unwrappingSerializerin classtools.jackson.databind.ser.bean.BeanSerializerBase
-
serializeProperties
public void serializeProperties(Object bean, tools.jackson.core.JsonGenerator jgen, tools.jackson.databind.SerializationContext provider)
-