All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.codehaus.jackson.map.deser.CollectionDeserializer Maven / Gradle / Ivy

Go to download

Data Mapper package is a high-performance data binding package built on Jackson JSON processor

The newest version!
package org.codehaus.jackson.map.deser;

import java.lang.reflect.Constructor;
import java.util.*;

import org.codehaus.jackson.map.*;
import org.codehaus.jackson.type.JavaType;

/**
 * @deprecated Since 1.9, use {@link org.codehaus.jackson.map.deser.std.ContainerDeserializerBase} instead.
 */
@Deprecated
public class CollectionDeserializer
    extends org.codehaus.jackson.map.deser.std.CollectionDeserializer
{
    /**
     * @deprecated Since 1.9, use variant that takes ValueInstantiator
     */
    @SuppressWarnings("deprecation")
    @Deprecated
    public CollectionDeserializer(JavaType collectionType, JsonDeserializer valueDeser,
            TypeDeserializer valueTypeDeser,
            Constructor> defCtor)
    {
        super(collectionType, valueDeser, valueTypeDeser, defCtor);
    }

    /**
     * @since 1.9
     */
    public CollectionDeserializer(JavaType collectionType, JsonDeserializer valueDeser,
            TypeDeserializer valueTypeDeser, ValueInstantiator valueInstantiator)
    {
        super(collectionType, valueDeser, valueTypeDeser, valueInstantiator);
    }

    /**
     * Copy-constructor that can be used by sub-classes to allow
     * copy-on-write styling copying of settings of an existing instance.
     * 
     * @since 1.9
     */
    protected CollectionDeserializer(CollectionDeserializer src)
    {
        super(src);
    }
}