com.fasterxml.jackson.databind.deser

## Class ValueInstantiator.Base

- java.lang.Object
- - com.fasterxml.jackson.databind.deser.ValueInstantiator
  - - com.fasterxml.jackson.databind.deser.ValueInstantiator.Base

- All Implemented Interfaces:
    Serializable
  Direct Known Subclasses:
    JsonLocationInstantiator
  Enclosing class:
    ValueInstantiator

      public static class ValueInstantiator.Base
      extends ValueInstantiator
      implements Serializable

  Partial `ValueInstantiator` implementation that is strongly recommended to be used instead of directly extending `ValueInstantiator` itself.
  See Also:
    Serialized Form

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.deser.ValueInstantiator

      `ValueInstantiator.Base, ValueInstantiator.Gettable`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected Class<?>` | `_valueType`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Base(Class<?> type)`
    `Base(JavaType type)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Class<?>` | `getValueClass()` Accessor for raw (type-erased) type of instances to create.
    `String` | `getValueTypeDesc()` Method that returns description of the value type this instantiator handles.

    - ### Methods inherited from class com.fasterxml.jackson.databind.deser.ValueInstantiator

      `_createFromStringFallbacks, canCreateFromBoolean, canCreateFromDouble, canCreateFromInt, canCreateFromLong, canCreateFromObjectWith, canCreateFromString, canCreateUsingArrayDelegate, canCreateUsingDefault, canCreateUsingDelegate, canInstantiate, createFromBoolean, createFromDouble, createFromInt, createFromLong, createFromObjectWith, createFromObjectWith, createFromString, createUsingArrayDelegate, createUsingDefault, createUsingDelegate, getArrayDelegateCreator, getArrayDelegateType, getDefaultCreator, getDelegateCreator, getDelegateType, getFromObjectArguments, getIncompleteParameter, getWithArgsCreator`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### _valueType

          protected final Class<?> _valueType

  - ### Constructor Detail

    - #### Base

          public Base(Class<?> type)

    - #### Base

          public Base(JavaType type)

  - ### Method Detail

    - #### getValueTypeDesc

          public String getValueTypeDesc()

      Description copied from class: `ValueInstantiator`
      Method that returns description of the value type this instantiator handles. Used for error messages, diagnostics.
      Overrides:
        `getValueTypeDesc` in class `ValueInstantiator`

    - #### getValueClass

          public Class<?> getValueClass()

      Description copied from class: `ValueInstantiator`
      Accessor for raw (type-erased) type of instances to create.

      NOTE: since this method has not existed since beginning of Jackson 2.0 series, default implementation will just return `Object.class`; implementations are expected to override it with real value.

      Overrides:
        `getValueClass` in class `ValueInstantiator`

Copyright © 2008–2020 FasterXML. All rights reserved.