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 Class<?> |
_valueType |
Constructor and Description |
---|
ValueInstantiator.Base(Class<?> type) |
ValueInstantiator.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 ValueInstantiator.Base(Class<?> type)
public ValueInstantiator.Base(JavaType type)
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–2017 FasterXML. All rights reserved.