Top Fields Constructors Methods
tools.jackson.dataformat.avro

public Class AvroTypeResolverBuilder

extends StdTypeResolverBuilder
Class Inheritance
Imports
java.util.Collection, com.fasterxml.jackson.annotation.JsonTypeInfo, tools.jackson.databind.DatabindContext, .DeserializationContext, .JavaType, .SerializationContext, tools.jackson.databind.jsontype.NamedType, .PolymorphicTypeValidator, .TypeDeserializer, .TypeIdResolver, .TypeSerializer, tools.jackson.databind.jsontype.impl.StdTypeResolverBuilder

Since
2.9

Field Summary

Inherited from tools.jackson.databind.jsontype.impl.StdTypeResolverBuilder:
_customIdResolver_defaultImpl_idType_includeAs_requireTypeIdForSubtypes_typeIdVisible_typeProperty

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public TypeDeserializer
public TypeSerializer
public static AvroTypeResolverBuilder
protected TypeIdResolver
idResolver(DatabindContext ctxt, JavaType baseType, PolymorphicTypeValidator subtypeValidator, Collection<NamedType> subtypes, boolean forSer, boolean forDeser)

Overrides tools.jackson.databind.jsontype.impl.StdTypeResolverBuilder.idResolver.

Helper method that will either return configured custom type id resolver, or construct a standard resolver given configuration.

Inherited from tools.jackson.databind.jsontype.impl.StdTypeResolverBuilder:
_hasTypeResolver_propName_strictTypeIdHandlingallowPrimitiveTypesdefineDefaultImplgetDefaultImplgetTypePropertyinitisTypeIdVisiblenoTypeInfoBuilderreportInvalidBaseTypesubTypeValidatorverifyBaseTypeValiditywithDefaultImplwithSettings

Constructor Detail

AvroTypeResolverBuilderback to summary
protected AvroTypeResolverBuilder(JsonTypeInfo.Value config)

Method Detail

buildTypeDeserializerback to summary
public TypeDeserializer buildTypeDeserializer(DeserializationContext ctxt, JavaType baseType, Collection<NamedType> subtypes)

Overrides tools.jackson.databind.jsontype.impl.StdTypeResolverBuilder.buildTypeDeserializer.

Implements tools.jackson.databind.jsontype.TypeResolverBuilder.buildTypeDeserializer.

Doc from tools.jackson.databind.jsontype.TypeResolverBuilder.buildTypeDeserializer.

Method for building type deserializer based on current configuration of this builder.

Annotations
@Override
buildTypeSerializerback to summary
public TypeSerializer buildTypeSerializer(SerializationContext ctxt, JavaType baseType, Collection<NamedType> subtypes)

Overrides tools.jackson.databind.jsontype.impl.StdTypeResolverBuilder.buildTypeSerializer.

Implements tools.jackson.databind.jsontype.TypeResolverBuilder.buildTypeSerializer.

Doc from tools.jackson.databind.jsontype.TypeResolverBuilder.buildTypeSerializer.

Method for building type serializer based on current configuration of this builder.

Annotations
@Override
constructback to summary
public static AvroTypeResolverBuilder construct(JsonTypeInfo.Value config)
idResolverback to summary
protected TypeIdResolver idResolver(DatabindContext ctxt, JavaType baseType, PolymorphicTypeValidator subtypeValidator, Collection<NamedType> subtypes, boolean forSer, boolean forDeser)

Overrides tools.jackson.databind.jsontype.impl.StdTypeResolverBuilder.idResolver.

Doc from tools.jackson.databind.jsontype.impl.StdTypeResolverBuilder.idResolver.

Helper method that will either return configured custom type id resolver, or construct a standard resolver given configuration.

Annotations
@Override