com.fasterxml.jackson.databind.deser
Class DefaultDeserializationContext
java.lang.Object
   com.fasterxml.jackson.databind.DeserializationContext
com.fasterxml.jackson.databind.DeserializationContext
       com.fasterxml.jackson.databind.deser.DefaultDeserializationContext
com.fasterxml.jackson.databind.deser.DefaultDeserializationContext
- All Implemented Interfaces: 
- Serializable
- Direct Known Subclasses: 
- DefaultDeserializationContext.Impl
- public abstract class DefaultDeserializationContext 
- extends DeserializationContext- implements Serializable
Complete DeserializationContext implementation that adds
 extended API for ObjectMapper (and ObjectReader)
 to call, as well as implements certain parts that base class
 has left abstract.
 The remaining abstract methods (createInstance(com.fasterxml.jackson.databind.DeserializationConfig, com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.InjectableValues), with(com.fasterxml.jackson.databind.deser.DeserializerFactory))
 are left so that custom implementations will properly implement them
 to return intended subtype.
- See Also:
- Serialized Form
 
 
 
 
 
| Methods inherited from class com.fasterxml.jackson.databind.DeserializationContext | 
| _calcName, _desc, _valueDesc, canOverrideAccessModifiers, constructCalendar, constructType, determineClassName, endOfInputException, findClass, findContextualValueDeserializer, findInjectableValue, findKeyDeserializer, findRootValueDeserializer, getActiveView, getAnnotationIntrospector, getArrayBuilders, getBase64Variant, getConfig, getDateFormat, getFactory, getLocale, getNodeFactory, getParser, getTimeZone, getTypeFactory, handleUnknownProperty, hasValueDeserializerFor, instantiationException, instantiationException, isEnabled, isEnabled, leaseObjectBuffer, mappingException, mappingException, mappingException, parseDate, reportUnknownProperty, returnObjectBuffer, unknownTypeException, weirdKeyException, weirdNumberException, weirdNumberException, weirdStringException, weirdStringException, wrongTokenException | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
_objectIds
protected transient LinkedHashMap<ObjectIdGenerator.IdKey,ReadableObjectId> _objectIds
DefaultDeserializationContext
protected DefaultDeserializationContext(DeserializerFactory df,
                                        DeserializerCache cache)
- Constructor that will pass specified deserializer factory and
 cache: cache may be null (in which case default implementation
 will be used), factory can not be null
 
DefaultDeserializationContext
protected DefaultDeserializationContext(DefaultDeserializationContext src,
                                        DeserializationConfig config,
                                        JsonParser jp,
                                        InjectableValues values)
DefaultDeserializationContext
protected DefaultDeserializationContext(DefaultDeserializationContext src,
                                        DeserializerFactory factory)
findObjectId
public ReadableObjectId findObjectId(Object id,
                                     ObjectIdGenerator<?> generator)
- Description copied from class: DeserializationContext
- Method called to find and return entry corresponding to given
 Object Id: will add an entry if necessary, and never returns null
 
- 
- Specified by:
- findObjectIdin class- DeserializationContext
 
- 
 
objectIdGeneratorInstance
public ObjectIdGenerator<?> objectIdGeneratorInstance(Annotated annotated,
                                                      ObjectIdInfo objectIdInfo)
                                               throws JsonMappingException
- 
- Specified by:
- objectIdGeneratorInstancein class- DeserializationContext
 
- 
- Throws:
- JsonMappingException
 
deserializerInstance
public JsonDeserializer<Object> deserializerInstance(Annotated annotated,
                                                     Object deserDef)
                                              throws JsonMappingException
- 
- Specified by:
- deserializerInstancein class- DeserializationContext
 
- 
- Throws:
- JsonMappingException
 
keyDeserializerInstance
public final KeyDeserializer keyDeserializerInstance(Annotated annotated,
                                                     Object deserDef)
                                              throws JsonMappingException
- 
- Specified by:
- keyDeserializerInstancein class- DeserializationContext
 
- 
- Throws:
- JsonMappingException
 
with
public abstract DefaultDeserializationContext with(DeserializerFactory factory)
- Fluent factory method used for constructing a blueprint instance
 with different factory
 
- 
 
- 
 
createInstance
public abstract DefaultDeserializationContext createInstance(DeserializationConfig config,
                                                             JsonParser jp,
                                                             InjectableValues values)
- Method called to create actual usable per-deserialization
 context instance.
 
- 
 
- 
 
Copyright © 2012 FasterXML. All Rights Reserved.