Class ValueInstantiator.Base
- java.lang.Object
-
- com.fasterxml.jackson.databind.deser.ValueInstantiator
-
- com.fasterxml.jackson.databind.deser.ValueInstantiator.Base
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
JsonLocationInstantiator
- Enclosing class:
- ValueInstantiator
public static class ValueInstantiator.Base extends ValueInstantiator implements java.io.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.Gettable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
getValueClass()
Accessor for raw (type-erased) type of instances to create.java.lang.String
getValueTypeDesc()
Method that returns description of the value type this instantiator handles.-
Methods inherited from class com.fasterxml.jackson.databind.deser.ValueInstantiator
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
-
-
-
-
Constructor Detail
-
Base
public Base(java.lang.Class<?> type)
-
Base
public Base(JavaType type)
-
-
Method Detail
-
getValueTypeDesc
public java.lang.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 java.lang.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
-
-