Top Description Inners Constructors Methods
tools.jackson.databind.deser.jdk

public abstract Class JDKValueInstantiators

extends Object
Class Inheritance
Imports
java.util.*, java.util.concurrent.ConcurrentHashMap, tools.jackson.core.TokenStreamLocation, tools.jackson.databind.DeserializationConfig, .DeserializationContext, tools.jackson.databind.deser.ValueInstantiator, tools.jackson.databind.deser.jackson.TokenStreamLocationInstantiator

Container for a set of ValueInstantiators used for certain critical JDK value types, either as performance optimization for initialization time observed by profiling, or due to difficulty in otherwise finding constructors.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private static class
private static class
private static class
private static class
pack-priv abstract static class
private static class
private static class
private static class
private static class
private static class
private static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static ValueInstantiator
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

JDKValueInstantiatorsback to summary
public JDKValueInstantiators()

Method Detail

findStdValueInstantiatorback to summary
public static ValueInstantiator findStdValueInstantiator(DeserializationConfig config, Class<?> raw)
tools.jackson.databind.deser.jdk back to summary

private Class JDKValueInstantiators.ArrayListInstantiator

extends JDKValueInstantiator
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv static final JDKValueInstantiators.ArrayListInstantiator

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
createUsingDefault(DeserializationContext ctxt)

Implements abstract tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator.createUsingDefault.

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object.

Inherited from tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator:
canCreateUsingDefaultcanInstantiate

Field Detail

INSTANCEback to summary
pack-priv static final JDKValueInstantiators.ArrayListInstantiator INSTANCE

Constructor Detail

ArrayListInstantiatorback to summary
public ArrayListInstantiator()

Method Detail

createUsingDefaultback to summary
public Object createUsingDefault(DeserializationContext ctxt)

Implements abstract tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator.createUsingDefault.

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

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".

This method is called if getFromObjectArguments returns null or empty List.

Annotations
@Override
tools.jackson.databind.deser.jdk back to summary

private Class JDKValueInstantiators.ConcurrentHashMapInstantiator

extends JDKValueInstantiator
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
createUsingDefault(DeserializationContext ctxt)

Implements abstract tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator.createUsingDefault.

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object.

Inherited from tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator:
canCreateUsingDefaultcanInstantiate

Constructor Detail

ConcurrentHashMapInstantiatorback to summary
public ConcurrentHashMapInstantiator()

Method Detail

createUsingDefaultback to summary
public Object createUsingDefault(DeserializationContext ctxt)

Implements abstract tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator.createUsingDefault.

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

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".

This method is called if getFromObjectArguments returns null or empty List.

Annotations
@Override
tools.jackson.databind.deser.jdk back to summary

private Class JDKValueInstantiators.ConstantValueInstantiator

extends JDKValueInstantiator
Class Inheritance

Field Summary

Modifier and TypeField and Description
protected final Object

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final Object
createUsingDefault(DeserializationContext ctxt)

Implements abstract tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator.createUsingDefault.

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object.

Inherited from tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator:
canCreateUsingDefaultcanInstantiate

Field Detail

_valueback to summary
protected final Object _value

Constructor Detail

ConstantValueInstantiatorback to summary
public ConstantValueInstantiator(Object value)

Method Detail

createUsingDefaultback to summary
public final Object createUsingDefault(DeserializationContext ctxt)

Implements abstract tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator.createUsingDefault.

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

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".

This method is called if getFromObjectArguments returns null or empty List.

Annotations
@Override
tools.jackson.databind.deser.jdk back to summary

private Class JDKValueInstantiators.HashMapInstantiator

extends JDKValueInstantiator
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv static final JDKValueInstantiators.HashMapInstantiator

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
createUsingDefault(DeserializationContext ctxt)

Implements abstract tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator.createUsingDefault.

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object.

Inherited from tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator:
canCreateUsingDefaultcanInstantiate

Field Detail

INSTANCEback to summary
pack-priv static final JDKValueInstantiators.HashMapInstantiator INSTANCE

Constructor Detail

HashMapInstantiatorback to summary
public HashMapInstantiator()

Method Detail

createUsingDefaultback to summary
public Object createUsingDefault(DeserializationContext ctxt)

Implements abstract tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator.createUsingDefault.

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

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".

This method is called if getFromObjectArguments returns null or empty List.

Annotations
@Override
tools.jackson.databind.deser.jdk back to summary

private Class JDKValueInstantiators.HashSetInstantiator

extends JDKValueInstantiator
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv static final JDKValueInstantiators.HashSetInstantiator

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
createUsingDefault(DeserializationContext ctxt)

Implements abstract tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator.createUsingDefault.

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object.

Inherited from tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator:
canCreateUsingDefaultcanInstantiate

Field Detail

INSTANCEback to summary
pack-priv static final JDKValueInstantiators.HashSetInstantiator INSTANCE

Constructor Detail

HashSetInstantiatorback to summary
public HashSetInstantiator()

Method Detail

createUsingDefaultback to summary
public Object createUsingDefault(DeserializationContext ctxt)

Implements abstract tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator.createUsingDefault.

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

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".

This method is called if getFromObjectArguments returns null or empty List.

Annotations
@Override
tools.jackson.databind.deser.jdk back to summary

pack-priv abstract Class JDKValueInstantiators.JDKValueInstantiator

extends Base
Class Inheritance
Known Direct Subclasses
tools.jackson.databind.deser.jdk.JDKValueInstantiators.ArrayListInstantiator, tools.jackson.databind.deser.jdk.JDKValueInstantiators.LinkedListInstantiator, tools.jackson.databind.deser.jdk.JDKValueInstantiators.HashSetInstantiator, tools.jackson.databind.deser.jdk.JDKValueInstantiators.TreeSetInstantiator, tools.jackson.databind.deser.jdk.JDKValueInstantiators.LinkedHashSetInstantiator, tools.jackson.databind.deser.jdk.JDKValueInstantiators.ConcurrentHashMapInstantiator, tools.jackson.databind.deser.jdk.JDKValueInstantiators.HashMapInstantiator, tools.jackson.databind.deser.jdk.JDKValueInstantiators.LinkedHashMapInstantiator, tools.jackson.databind.deser.jdk.JDKValueInstantiators.TreeMapInstantiator, tools.jackson.databind.deser.jdk.JDKValueInstantiators.PropertiesInstantiator, tools.jackson.databind.deser.jdk.JDKValueInstantiators.ConstantValueInstantiator

Field Summary

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

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final boolean
canCreateUsingDefault()

Overrides tools.jackson.databind.deser.ValueInstantiator.canCreateUsingDefault.

Method that can be called to check whether a default creator (constructor, or no-arg static factory method) is available for this instantiator

public final boolean
canInstantiate()

Overrides tools.jackson.databind.deser.ValueInstantiator.canInstantiate.

Method that will return true if any of canCreateXxx method returns true: that is, if there is any way that an instance could be created.

public abstract Object
createUsingDefault(DeserializationContext ctxt)

Overrides tools.jackson.databind.deser.ValueInstantiator.createUsingDefault.

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object.

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

Constructor Detail

JDKValueInstantiatorback to summary
public JDKValueInstantiator(Class<?> type)

Method Detail

canCreateUsingDefaultback to summary
public final boolean canCreateUsingDefault()

Overrides tools.jackson.databind.deser.ValueInstantiator.canCreateUsingDefault.

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

Method that can be called to check whether a default creator (constructor, or no-arg static factory method) is available for this instantiator

Annotations
@Override
canInstantiateback to summary
public final boolean canInstantiate()

Overrides tools.jackson.databind.deser.ValueInstantiator.canInstantiate.

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

Method that will return true if any of canCreateXxx method returns true: that is, if there is any way that an instance could be created.

Annotations
@Override
createUsingDefaultback to summary
public abstract Object createUsingDefault(DeserializationContext ctxt)

Overrides tools.jackson.databind.deser.ValueInstantiator.createUsingDefault.

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

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".

This method is called if getFromObjectArguments returns null or empty List.

Annotations
@Override
tools.jackson.databind.deser.jdk back to summary

private Class JDKValueInstantiators.LinkedHashMapInstantiator

extends JDKValueInstantiator
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv static final JDKValueInstantiators.LinkedHashMapInstantiator

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
createUsingDefault(DeserializationContext ctxt)

Implements abstract tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator.createUsingDefault.

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object.

Inherited from tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator:
canCreateUsingDefaultcanInstantiate

Field Detail

INSTANCEback to summary
pack-priv static final JDKValueInstantiators.LinkedHashMapInstantiator INSTANCE

Constructor Detail

LinkedHashMapInstantiatorback to summary
public LinkedHashMapInstantiator()

Method Detail

createUsingDefaultback to summary
public Object createUsingDefault(DeserializationContext ctxt)

Implements abstract tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator.createUsingDefault.

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

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".

This method is called if getFromObjectArguments returns null or empty List.

Annotations
@Override
tools.jackson.databind.deser.jdk back to summary

private Class JDKValueInstantiators.LinkedHashSetInstantiator

extends JDKValueInstantiator
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
createUsingDefault(DeserializationContext ctxt)

Implements abstract tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator.createUsingDefault.

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object.

Inherited from tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator:
canCreateUsingDefaultcanInstantiate

Constructor Detail

LinkedHashSetInstantiatorback to summary
public LinkedHashSetInstantiator()

Method Detail

createUsingDefaultback to summary
public Object createUsingDefault(DeserializationContext ctxt)

Implements abstract tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator.createUsingDefault.

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

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".

This method is called if getFromObjectArguments returns null or empty List.

Annotations
@Override
tools.jackson.databind.deser.jdk back to summary

private Class JDKValueInstantiators.LinkedListInstantiator

extends JDKValueInstantiator
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
createUsingDefault(DeserializationContext ctxt)

Implements abstract tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator.createUsingDefault.

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object.

Inherited from tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator:
canCreateUsingDefaultcanInstantiate

Constructor Detail

LinkedListInstantiatorback to summary
public LinkedListInstantiator()

Method Detail

createUsingDefaultback to summary
public Object createUsingDefault(DeserializationContext ctxt)

Implements abstract tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator.createUsingDefault.

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

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".

This method is called if getFromObjectArguments returns null or empty List.

Annotations
@Override
tools.jackson.databind.deser.jdk back to summary

private Class JDKValueInstantiators.PropertiesInstantiator

extends JDKValueInstantiator
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
createUsingDefault(DeserializationContext ctxt)

Implements abstract tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator.createUsingDefault.

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object.

Inherited from tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator:
canCreateUsingDefaultcanInstantiate

Constructor Detail

PropertiesInstantiatorback to summary
public PropertiesInstantiator()

Method Detail

createUsingDefaultback to summary
public Object createUsingDefault(DeserializationContext ctxt)

Implements abstract tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator.createUsingDefault.

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

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".

This method is called if getFromObjectArguments returns null or empty List.

Annotations
@Override
tools.jackson.databind.deser.jdk back to summary

private Class JDKValueInstantiators.TreeMapInstantiator

extends JDKValueInstantiator
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
createUsingDefault(DeserializationContext ctxt)

Implements abstract tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator.createUsingDefault.

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object.

Inherited from tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator:
canCreateUsingDefaultcanInstantiate

Constructor Detail

TreeMapInstantiatorback to summary
public TreeMapInstantiator()

Method Detail

createUsingDefaultback to summary
public Object createUsingDefault(DeserializationContext ctxt)

Implements abstract tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator.createUsingDefault.

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

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".

This method is called if getFromObjectArguments returns null or empty List.

Annotations
@Override
tools.jackson.databind.deser.jdk back to summary

private Class JDKValueInstantiators.TreeSetInstantiator

extends JDKValueInstantiator
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
createUsingDefault(DeserializationContext ctxt)

Implements abstract tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator.createUsingDefault.

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object.

Inherited from tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator:
canCreateUsingDefaultcanInstantiate

Constructor Detail

TreeSetInstantiatorback to summary
public TreeSetInstantiator()

Method Detail

createUsingDefaultback to summary
public Object createUsingDefault(DeserializationContext ctxt)

Implements abstract tools.jackson.databind.deser.jdk.JDKValueInstantiators.JDKValueInstantiator.createUsingDefault.

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

Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object. It will only be used if more specific creator methods are not applicable; hence "default".

This method is called if getFromObjectArguments returns null or empty List.

Annotations
@Override