Top Fields Constructors Methods
tools.jackson.databind.module

public Class SimpleValueInstantiators

extends Base
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
java.util.HashMap, tools.jackson.databind.BeanDescription, .DeserializationConfig, tools.jackson.databind.deser.ValueInstantiator, .ValueInstantiators, tools.jackson.databind.type.ClassKey

Field Summary

Modifier and TypeField and Description
protected HashMap<ClassKey, ValueInstantiator>
_classMappings

Mappings from raw (type-erased, i.e. non-generic) types to matching ValueInstantiator instances.

private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public SimpleValueInstantiators
public ValueInstantiator

Field Detail

_classMappingsback to summary
protected HashMap<ClassKey, ValueInstantiator> _classMappings

Mappings from raw (type-erased, i.e. non-generic) types to matching ValueInstantiator instances.

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

SimpleValueInstantiatorsback to summary
public SimpleValueInstantiators()

Method Detail

addValueInstantiatorback to summary
public SimpleValueInstantiators addValueInstantiator(Class<?> forType, ValueInstantiator inst)
findValueInstantiatorback to summary
public ValueInstantiator findValueInstantiator(DeserializationConfig config, BeanDescription.Supplier beanDescRef)

Overrides tools.jackson.databind.deser.ValueInstantiators.Base.findValueInstantiator.

Implements tools.jackson.databind.deser.ValueInstantiators.findValueInstantiator.

Doc from tools.jackson.databind.deser.ValueInstantiators.findValueInstantiator.

Method called to find the ValueInstantiator to use for creating instances of specified type during deserialization.

Note that unlike with 2.0, no default instantiator is passed at this point: there is a separate method, modifyValueInstantiator if you want to use or modify that.

Annotations
@Override