public static class ValueInstantiator.Base extends ValueInstantiator
ValueInstantiator implementation that is strongly recommended
to be used instead of directly extending ValueInstantiator itself.ValueInstantiator.Base| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Class<?> |
_valueType |
| Constructor and Description |
|---|
ValueInstantiator.Base(java.lang.Class<?> type) |
ValueInstantiator.Base(JavaType type) |
| Modifier and Type | Method and 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.
|
_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, getWithArgsCreatorpublic ValueInstantiator.Base(java.lang.Class<?> type)
public ValueInstantiator.Base(JavaType type)
public java.lang.String getValueTypeDesc()
ValueInstantiatorgetValueTypeDesc in class ValueInstantiatorpublic java.lang.Class<?> getValueClass()
ValueInstantiator
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.
getValueClass in class ValueInstantiator