Class AvroTypeResolverBuilder

java.lang.Object
tools.jackson.databind.jsontype.impl.StdTypeResolverBuilder
tools.jackson.dataformat.avro.AvroTypeResolverBuilder
All Implemented Interfaces:
tools.jackson.databind.jsontype.TypeResolverBuilder<tools.jackson.databind.jsontype.impl.StdTypeResolverBuilder>

public class AvroTypeResolverBuilder extends tools.jackson.databind.jsontype.impl.StdTypeResolverBuilder
Since:
2.9
  • Field Summary

    Fields inherited from class tools.jackson.databind.jsontype.impl.StdTypeResolverBuilder

    _customIdResolver, _defaultImpl, _idType, _includeAs, _requireTypeIdForSubtypes, _typeIdVisible, _typeProperty
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    AvroTypeResolverBuilder(com.fasterxml.jackson.annotation.JsonTypeInfo.Value config)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    tools.jackson.databind.jsontype.TypeDeserializer
    buildTypeDeserializer(tools.jackson.databind.DeserializationContext ctxt, tools.jackson.databind.JavaType baseType, Collection<tools.jackson.databind.jsontype.NamedType> subtypes)
     
    tools.jackson.databind.jsontype.TypeSerializer
    buildTypeSerializer(tools.jackson.databind.SerializationContext ctxt, tools.jackson.databind.JavaType baseType, Collection<tools.jackson.databind.jsontype.NamedType> subtypes)
     
    construct(com.fasterxml.jackson.annotation.JsonTypeInfo.Value config)
     
    protected tools.jackson.databind.jsontype.TypeIdResolver
    idResolver(tools.jackson.databind.DatabindContext ctxt, tools.jackson.databind.JavaType baseType, tools.jackson.databind.jsontype.PolymorphicTypeValidator subtypeValidator, Collection<tools.jackson.databind.jsontype.NamedType> subtypes, boolean forSer, boolean forDeser)
     

    Methods inherited from class tools.jackson.databind.jsontype.impl.StdTypeResolverBuilder

    _hasTypeResolver, _propName, _strictTypeIdHandling, allowPrimitiveTypes, defineDefaultImpl, getDefaultImpl, getTypeProperty, init, isTypeIdVisible, noTypeInfoBuilder, reportInvalidBaseType, subTypeValidator, verifyBaseTypeValidity, withDefaultImpl, withSettings

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AvroTypeResolverBuilder

      protected AvroTypeResolverBuilder(com.fasterxml.jackson.annotation.JsonTypeInfo.Value config)
  • Method Details

    • construct

      public static AvroTypeResolverBuilder construct(com.fasterxml.jackson.annotation.JsonTypeInfo.Value config)
    • buildTypeSerializer

      public tools.jackson.databind.jsontype.TypeSerializer buildTypeSerializer(tools.jackson.databind.SerializationContext ctxt, tools.jackson.databind.JavaType baseType, Collection<tools.jackson.databind.jsontype.NamedType> subtypes)
      Specified by:
      buildTypeSerializer in interface tools.jackson.databind.jsontype.TypeResolverBuilder<tools.jackson.databind.jsontype.impl.StdTypeResolverBuilder>
      Overrides:
      buildTypeSerializer in class tools.jackson.databind.jsontype.impl.StdTypeResolverBuilder
    • buildTypeDeserializer

      public tools.jackson.databind.jsontype.TypeDeserializer buildTypeDeserializer(tools.jackson.databind.DeserializationContext ctxt, tools.jackson.databind.JavaType baseType, Collection<tools.jackson.databind.jsontype.NamedType> subtypes)
      Specified by:
      buildTypeDeserializer in interface tools.jackson.databind.jsontype.TypeResolverBuilder<tools.jackson.databind.jsontype.impl.StdTypeResolverBuilder>
      Overrides:
      buildTypeDeserializer in class tools.jackson.databind.jsontype.impl.StdTypeResolverBuilder
    • idResolver

      protected tools.jackson.databind.jsontype.TypeIdResolver idResolver(tools.jackson.databind.DatabindContext ctxt, tools.jackson.databind.JavaType baseType, tools.jackson.databind.jsontype.PolymorphicTypeValidator subtypeValidator, Collection<tools.jackson.databind.jsontype.NamedType> subtypes, boolean forSer, boolean forDeser)
      Overrides:
      idResolver in class tools.jackson.databind.jsontype.impl.StdTypeResolverBuilder