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
PartialValueInstantiatorimplementation that is strongly recommended to be used instead of directly extendingValueInstantiatoritself.- 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.StringgetValueTypeDesc()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:ValueInstantiatorMethod that returns description of the value type this instantiator handles. Used for error messages, diagnostics.- Overrides:
getValueTypeDescin classValueInstantiator
-
getValueClass
public Class<?> getValueClass()
Description copied from class:ValueInstantiatorAccessor 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:
getValueClassin classValueInstantiator
-
-