public static class ValueInstantiator.Base extends ValueInstantiator
ValueInstantiator
implementation that is strongly recommended
to be used instead of directly extending ValueInstantiator
itself.ValueInstantiator.Base, 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.
|
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
public Base(java.lang.Class<?> type)
public Base(JavaType type)
public java.lang.String getValueTypeDesc()
ValueInstantiator
getValueTypeDesc
in class ValueInstantiator
public 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
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"