Class DefaultDeserializationContext.Impl
- java.lang.Object
-
- com.fasterxml.jackson.databind.DatabindContext
-
- com.fasterxml.jackson.databind.DeserializationContext
-
- com.fasterxml.jackson.databind.deser.DefaultDeserializationContext
-
- com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.Impl
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- DefaultDeserializationContext
public static final class DefaultDeserializationContext.Impl extends DefaultDeserializationContext
Actual full concrete implementation- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.deser.DefaultDeserializationContext
DefaultDeserializationContext.Impl
-
-
Field Summary
-
Fields inherited from class com.fasterxml.jackson.databind.deser.DefaultDeserializationContext
_objectIds
-
Fields inherited from class com.fasterxml.jackson.databind.DeserializationContext
_arrayBuilders, _attributes, _cache, _config, _currentType, _dateFormat, _factory, _featureFlags, _injectableValues, _objectBuffer, _parser, _readCapabilities, _view
-
-
Constructor Summary
Constructors Constructor Description Impl(DeserializerFactory df)Default constructor for a blueprint object, which will use the standardDeserializerCache, given factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultDeserializationContextcopy()Method needed to ensure thatObjectMapper.copy()will work properly; specifically, that caches are cleared, but settings will otherwise remain identical; and that no sharing of state occurs.DefaultDeserializationContextcreateDummyInstance(DeserializationConfig config)DefaultDeserializationContextcreateInstance(DeserializationConfig config, com.fasterxml.jackson.core.JsonParser p, InjectableValues values)Method called to create actual usable per-deserialization context instance.DefaultDeserializationContextwith(DeserializerFactory factory)Fluent factory method used for constructing a blueprint instance with different factoryDefaultDeserializationContextwithCaches(CacheProvider cp)Fluent factory method used for constructing a new instance with cache instances provided byCacheProvider.-
Methods inherited from class com.fasterxml.jackson.databind.deser.DefaultDeserializationContext
_unwrapAndDeserialize, checkUnresolvedObjectId, createReadableObjectId, deserializerInstance, findObjectId, keyDeserializerInstance, readRootValue, tryToResolveUnresolvedObjectId
-
Methods inherited from class com.fasterxml.jackson.databind.DeserializationContext
_getDateFormat, _isCompatible, _shapeForToken, bufferAsCopyOfValue, bufferForInputBuffering, bufferForInputBuffering, canOverrideAccessModifiers, constructCalendar, constructSpecializedType, constructType, extractScalarFromObject, findClass, findCoercionAction, findCoercionFromBlankString, findContextualValueDeserializer, findInjectableValue, findKeyDeserializer, findNonContextualValueDeserializer, findRootValueDeserializer, getActiveView, getAnnotationIntrospector, getArrayBuilders, getAttribute, getBase64Variant, getConfig, getContextualType, getDatatypeFeatures, getDefaultPropertyFormat, getDeserializationFeatures, getFactory, getLocale, getNodeFactory, getParser, getTimeZone, getTypeFactory, handleBadMerge, handleInstantiationProblem, handleMissingInstantiator, handleMissingTypeId, handlePrimaryContextualization, handleSecondaryContextualization, handleUnexpectedToken, handleUnexpectedToken, handleUnexpectedToken, handleUnexpectedToken, handleUnknownProperty, handleUnknownTypeId, handleWeirdKey, handleWeirdNativeValue, handleWeirdNumberValue, handleWeirdStringValue, hasDeserializationFeatures, hasSomeOfFeatures, hasValueDeserializerFor, instantiationException, instantiationException, invalidTypeIdException, isEnabled, isEnabled, isEnabled, isEnabled, leaseObjectBuffer, missingTypeIdException, parseDate, readPropertyValue, readPropertyValue, readTree, readTreeAsValue, readTreeAsValue, readValue, readValue, reportBadCoercion, reportBadDefinition, reportBadPropertyDefinition, reportBadTypeDefinition, reportInputMismatch, reportInputMismatch, reportInputMismatch, reportInputMismatch, reportPropertyInputMismatch, reportPropertyInputMismatch, reportTrailingTokens, reportUnresolvedObjectId, reportWrongTokenException, reportWrongTokenException, reportWrongTokenException, returnObjectBuffer, setAttribute, weirdKeyException, weirdNativeValueException, weirdNumberException, weirdStringException, wrongTokenException, wrongTokenException
-
Methods inherited from class com.fasterxml.jackson.databind.DatabindContext
_colonConcat, _desc, _format, _quotedString, _throwNotASubtype, _throwSubtypeClassNotAllowed, _throwSubtypeNameNotAllowed, _truncate, constructType, converterInstance, objectIdGeneratorInstance, objectIdResolverInstance, reportBadDefinition, resolveAndValidateSubType, resolveSubType
-
-
-
-
Constructor Detail
-
Impl
public Impl(DeserializerFactory df)
Default constructor for a blueprint object, which will use the standardDeserializerCache, given factory.
-
-
Method Detail
-
copy
public DefaultDeserializationContext copy()
Description copied from class:DefaultDeserializationContextMethod needed to ensure thatObjectMapper.copy()will work properly; specifically, that caches are cleared, but settings will otherwise remain identical; and that no sharing of state occurs.- Overrides:
copyin classDefaultDeserializationContext
-
createInstance
public DefaultDeserializationContext createInstance(DeserializationConfig config, com.fasterxml.jackson.core.JsonParser p, InjectableValues values)
Description copied from class:DefaultDeserializationContextMethod called to create actual usable per-deserialization context instance.- Specified by:
createInstancein classDefaultDeserializationContext
-
createDummyInstance
public DefaultDeserializationContext createDummyInstance(DeserializationConfig config)
- Specified by:
createDummyInstancein classDefaultDeserializationContext
-
with
public DefaultDeserializationContext with(DeserializerFactory factory)
Description copied from class:DefaultDeserializationContextFluent factory method used for constructing a blueprint instance with different factory- Specified by:
within classDefaultDeserializationContext
-
withCaches
public DefaultDeserializationContext withCaches(CacheProvider cp)
Description copied from class:DefaultDeserializationContextFluent factory method used for constructing a new instance with cache instances provided byCacheProvider.- Specified by:
withCachesin classDefaultDeserializationContext
-
-