public static class ValueInstantiator.Base extends ValueInstantiator implements Serializable
ValueInstantiator
implementation that is strongly recommended
to be used instead of directly extending ValueInstantiator
itself.ValueInstantiator.Base, ValueInstantiator.Gettable
Modifier and Type | Field and Description |
---|---|
protected Class<?> |
_valueType |
Constructor and Description |
---|
Base(Class<?> type) |
Base(JavaType type) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getValueClass()
Accessor for raw (type-erased) type of instances to create.
|
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, getWithArgsCreator
protected final Class<?> _valueType
public String getValueTypeDesc()
ValueInstantiator
getValueTypeDesc
in class ValueInstantiator
public 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 © 2008–2019 FasterXML. All rights reserved.