public abstract class OptimizedValueInstantiator
extends com.fasterxml.jackson.databind.deser.std.StdValueInstantiator
_arrayDelegateArguments, _arrayDelegateCreator, _arrayDelegateType, _constructorArguments, _defaultCreator, _delegateArguments, _delegateCreator, _delegateType, _fromBigDecimalCreator, _fromBigIntegerCreator, _fromBooleanCreator, _fromDoubleCreator, _fromIntCreator, _fromLongCreator, _fromStringCreator, _valueClass, _valueTypeDesc, _withArgsCreator| Modifier | Constructor and Description |
|---|---|
protected |
OptimizedValueInstantiator()
Default constructor which is only used when creating
dummy instance to call factory method.
|
protected |
OptimizedValueInstantiator(com.fasterxml.jackson.databind.deser.std.StdValueInstantiator src)
Copy-constructor to use for creating actual optimized instances.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
_handleInstantiationProblem(com.fasterxml.jackson.databind.DeserializationContext ctxt,
Exception e)
Helper method needed to allow handling of instantiation exception in
case of optimized no-args creator.
|
boolean |
canCreateUsingDefault()
Need to override this, now that we have installed default creator.
|
abstract Object |
createUsingDefault(com.fasterxml.jackson.databind.DeserializationContext ctxt) |
protected abstract OptimizedValueInstantiator |
with(com.fasterxml.jackson.databind.deser.std.StdValueInstantiator src) |
canCreateFromBigDecimal, canCreateFromBigInteger, canCreateFromBoolean, canCreateFromDouble, canCreateFromInt, canCreateFromLong, canCreateFromObjectWith, canCreateFromString, canCreateUsingArrayDelegate, canCreateUsingDelegate, canInstantiate, configureFromArraySettings, configureFromBigDecimalCreator, configureFromBigIntegerCreator, configureFromBooleanCreator, configureFromDoubleCreator, configureFromIntCreator, configureFromLongCreator, configureFromObjectSettings, configureFromStringCreator, createFromBigDecimal, createFromBigInteger, createFromBoolean, createFromDouble, createFromInt, createFromLong, createFromObjectWith, createFromString, createUsingArrayDelegate, createUsingDelegate, getArrayDelegateCreator, getArrayDelegateType, getDefaultCreator, getDelegateCreator, getDelegateType, getFromObjectArguments, getValueClass, getValueTypeDesc, getWithArgsCreator, rewrapCtorProblem, unwrapAndWrapException, wrapAsJsonMappingException, wrapExceptionprotected OptimizedValueInstantiator()
protected OptimizedValueInstantiator(com.fasterxml.jackson.databind.deser.std.StdValueInstantiator src)
public boolean canCreateUsingDefault()
canCreateUsingDefault in class com.fasterxml.jackson.databind.deser.std.StdValueInstantiatorprotected abstract OptimizedValueInstantiator with(com.fasterxml.jackson.databind.deser.std.StdValueInstantiator src)
public abstract Object createUsingDefault(com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
createUsingDefault in class com.fasterxml.jackson.databind.deser.std.StdValueInstantiatorIOExceptionprotected Object _handleInstantiationProblem(com.fasterxml.jackson.databind.DeserializationContext ctxt, Exception e) throws IOException
IOExceptionCopyright © 2021 FasterXML. All rights reserved.