Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package org.codehaus.jackson.map;
import org.codehaus.jackson.map.deser.BeanDeserializerModifier;
import org.codehaus.jackson.type.JavaType;
/**
* Abstract class that defines API used by {@link ObjectMapper} and
* {@link JsonDeserializer}s to obtain deserializers capable of
* re-constructing instances of handled type from JSON content.
*/
public abstract class DeserializerProvider
{
protected DeserializerProvider() { }
/**
* Method that is to configure {@link DeserializerFactory} that provider has
* to use specified deserializer provider, with highest precedence (that is,
* additional providers have higher precedence than default one or previously
* added ones)
*
* @since 1.7
*/
public abstract DeserializerProvider withAdditionalDeserializers(Deserializers d);
/**
* @since 1.8
*/
public abstract DeserializerProvider withAdditionalKeyDeserializers(KeyDeserializers d);
/**
* @since 1.7
*/
public abstract DeserializerProvider withDeserializerModifier(BeanDeserializerModifier modifier);
/**
* @since 1.8
*/
public abstract DeserializerProvider withAbstractTypeResolver(AbstractTypeResolver resolver);
/*
/**********************************************************
/* General deserializer locating method
/**********************************************************
*/
/**
* Method called to get hold of a deserializer for a value of given type;
* or if no such deserializer can be found, a default handler (which
* may do a best-effort generic serialization or just simply
* throw an exception when invoked).
*
* Note: this method is only called for value types; not for keys.
* Key deserializers can be accessed using {@link #findKeyDeserializer}.
*
* @param config Deserialization configuration
* @param propertyType Declared type of the value to deserializer (obtained using
* 'setter' method signature and/or type annotations
* @param property Object that represents accessor for property value; field,
* setter method or constructor parameter.
*
* @throws JsonMappingException if there are fatal problems with
* accessing suitable deserializer; including that of not
* finding any serializer
*/
public abstract JsonDeserializer