Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public TypeDeserializer | buildTypeDeserializer(DeserializationConfig config, JavaType
Base type that constructed resolver will
handle; super type of all types it will be used for. baseType, Collection<NamedType> Known subtypes of the base type. subtypes)Overrides com. Implements com. Method for building type deserializer based on current configuration of this builder. |
public TypeSerializer | buildTypeSerializer(SerializationConfig config, JavaType
Base type that constructed resolver will
handle; super type of all types it will be used for. baseType, Collection<NamedType> subtypes)Overrides com. Implements com. Method for building type serializer based on current configuration of this builder. |
protected TypeIdResolver | idResolver(MapperConfig<?> config, JavaType baseType, PolymorphicTypeValidator subtypeValidator, Collection<NamedType> subtypes, boolean forSer, boolean forDeser)
Overrides com. Helper method that will either return configured custom type id resolver, or construct a standard resolver given configuration. |
AvroTypeResolverBuilder | back to summary |
---|---|
public AvroTypeResolverBuilder() |
buildTypeDeserializer | back to summary |
---|---|
public TypeDeserializer buildTypeDeserializer(DeserializationConfig config, JavaType baseType, Collection<NamedType> subtypes) Overrides com. Implements com. Doc from com. Method for building type deserializer based on current configuration of this builder.
|
buildTypeSerializer | back to summary |
---|---|
public TypeSerializer buildTypeSerializer(SerializationConfig config, JavaType baseType, Collection<NamedType> subtypes) Overrides com. Implements com. Doc from com. Method for building type serializer based on current configuration of this builder. |
idResolver | back to summary |
---|---|
protected TypeIdResolver idResolver(MapperConfig<?> config, JavaType baseType, PolymorphicTypeValidator subtypeValidator, Collection<NamedType> subtypes, boolean forSer, boolean forDeser) Overrides com. Doc from com. Helper method that will either return configured custom type id resolver, or construct a standard resolver given configuration.
|