Top Inners Constructors Methods
tools.jackson.datatype.eclipsecollections.deser.pair

public Class TripleInstantiators

extends Base
Class Inheritance
Imports
tools.jackson.databind.*, tools.jackson.databind.deser.CreatorProperty, .SettableBeanProperty, .ValueInstantiator, .ValueInstantiators, tools.jackson.databind.introspect.AnnotationCollector, tools.jackson.databind.jsontype.TypeDeserializer, org.eclipse.collections.api.tuple.Triple, .Triplet, org.eclipse.collections.impl.tuple.Tuples

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ValueInstantiator

Constructor Detail

TripleInstantiatorsback to summary
public TripleInstantiators()

Method Detail

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
tools.jackson.datatype.eclipsecollections.deser.pair back to summary

pack-priv Class TripleInstantiators.TripleInstantiator

extends Base
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final JavaType
private final JavaType
private final TypeDeserializer
private final JavaType
private final TypeDeserializer
private final JavaType
private final TypeDeserializer
Inherited from tools.jackson.databind.deser.ValueInstantiator.Base:
_valueType

Constructor Summary

AccessConstructor and Description
pack-priv
TripleInstantiator(JavaType beanType, JavaType oneType, JavaType twoType, JavaType threeType)

pack-priv
TripleInstantiator(JavaType beanType, JavaType oneType, JavaType twoType, JavaType threeType, TypeDeserializer oneTypeDeser, TypeDeserializer twoTypeDeser, TypeDeserializer threeTypeDeser)

Method Summary

Modifier and TypeMethod and Description
public boolean
canCreateFromObjectWith()

Overrides tools.jackson.databind.deser.ValueInstantiator.canCreateFromObjectWith.

Method that can be called to check whether a property-based creator (argument-taking constructor or factory method) is available to instantiate values from JSON Object

public ValueInstantiator
createContextual(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef)

Overrides tools.jackson.databind.deser.ValueInstantiator.Base.createContextual.

"Contextualization" method that is called after construction but before first use, to allow instantiator access to context needed to possible resolve its dependencies.

public Object
createFromObjectWith(DeserializationContext ctxt, Object[] args)

Overrides tools.jackson.databind.deser.ValueInstantiator.createFromObjectWith.

Method called to create value instance from JSON Object when instantiation arguments are passed; this is done, for example when passing information specified with "Creator" annotations.

public SettableBeanProperty[]
getFromObjectArguments(DeserializationConfig config)

Overrides tools.jackson.databind.deser.ValueInstantiator.getFromObjectArguments.

Method called to determine types of instantiation arguments to use when creating instances with creator arguments (when canCreateFromObjectWith() returns true).

Inherited from tools.jackson.databind.deser.ValueInstantiator.Base:
getValueClassgetValueTypeDesc

Field Detail

beanTypeback to summary
private final JavaType beanType
oneTypeback to summary
private final JavaType oneType
oneTypeDeserback to summary
private final TypeDeserializer oneTypeDeser
threeTypeback to summary
private final JavaType threeType
threeTypeDeserback to summary
private final TypeDeserializer threeTypeDeser
twoTypeback to summary
private final JavaType twoType
twoTypeDeserback to summary
private final TypeDeserializer twoTypeDeser

Constructor Detail

TripleInstantiatorback to summary
pack-priv TripleInstantiator(JavaType beanType, JavaType oneType, JavaType twoType, JavaType threeType)
TripleInstantiatorback to summary
pack-priv TripleInstantiator(JavaType beanType, JavaType oneType, JavaType twoType, JavaType threeType, TypeDeserializer oneTypeDeser, TypeDeserializer twoTypeDeser, TypeDeserializer threeTypeDeser)

Method Detail

canCreateFromObjectWithback to summary
public boolean canCreateFromObjectWith()

Overrides tools.jackson.databind.deser.ValueInstantiator.canCreateFromObjectWith.

Doc from tools.jackson.databind.deser.ValueInstantiator.canCreateFromObjectWith.

Method that can be called to check whether a property-based creator (argument-taking constructor or factory method) is available to instantiate values from JSON Object

Annotations
@Override
createContextualback to summary
public ValueInstantiator createContextual(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef)

Overrides tools.jackson.databind.deser.ValueInstantiator.Base.createContextual.

Doc from tools.jackson.databind.deser.ValueInstantiator.createContextual.

"Contextualization" method that is called after construction but before first use, to allow instantiator access to context needed to possible resolve its dependencies.

Annotations
@Override
createFromObjectWithback to summary
public Object createFromObjectWith(DeserializationContext ctxt, Object[] args)

Overrides tools.jackson.databind.deser.ValueInstantiator.createFromObjectWith.

Doc from tools.jackson.databind.deser.ValueInstantiator.createFromObjectWith.

Method called to create value instance from JSON Object when instantiation arguments are passed; this is done, for example when passing information specified with "Creator" annotations.

This method is called if getFromObjectArguments returns a non-empty List of arguments.

Annotations
@Override
getFromObjectArgumentsback to summary
public SettableBeanProperty[] getFromObjectArguments(DeserializationConfig config)

Overrides tools.jackson.databind.deser.ValueInstantiator.getFromObjectArguments.

Doc from tools.jackson.databind.deser.ValueInstantiator.getFromObjectArguments.

Method called to determine types of instantiation arguments to use when creating instances with creator arguments (when canCreateFromObjectWith() returns true). These arguments are bound from JSON, using specified property types to locate deserializers.

Note

all properties will be of type tools.jackson.databind.deser.CreatorProperty.

Annotations
@Override