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
PartialValueInstantiator
implementation that is strongly recommended to be used instead of directly extendingValueInstantiator
itself.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.deser.ValueInstantiator
ValueInstantiator.Base, ValueInstantiator.Delegating, ValueInstantiator.Gettable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
canCreateFromBigDecimal, canCreateFromBigInteger, canCreateFromBoolean, canCreateFromDouble, canCreateFromInt, canCreateFromLong, canCreateFromObjectWith, canCreateFromString, canCreateUsingArrayDelegate, canCreateUsingDefault, canCreateUsingDelegate, canInstantiate, createContextual, createFromBigDecimal, createFromBigInteger, createFromBoolean, createFromDouble, createFromInt, createFromLong, createFromObjectWith, createFromObjectWith, createFromString, createUsingArrayDelegate, createUsingDefault, createUsingDelegate, getArrayDelegateCreator, getArrayDelegateType, getDefaultCreator, getDelegateCreator, getDelegateType, getFromObjectArguments, getWithArgsCreator
-
-
-
-
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 classValueInstantiator
-
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 classValueInstantiator
-
-