public static class ValueInstantiator.Base extends ValueInstantiator implements java.io.Serializable
ValueInstantiator implementation that is strongly recommended
to be used instead of directly extending ValueInstantiator itself.ValueInstantiator.Base, ValueInstantiator.Delegating, ValueInstantiator.Gettable| Constructor and Description |
|---|
Base(java.lang.Class<?> type) |
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.
|
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, getWithArgsCreatorpublic Base(java.lang.Class<?> type)
public 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 ValueInstantiatorCopyright © 2010 - 2023 Adobe. All Rights Reserved