org.codehaus.jackson.map
Class AbstractTypeResolver

java.lang.Object
  extended by org.codehaus.jackson.map.AbstractTypeResolver
Direct Known Subclasses:
AbstractTypeMaterializer

public abstract class AbstractTypeResolver
extends Object

Defines interface for resolvers that can resolve abstract types into concrete ones; either by using static mappings, or possibly by materializing implementations dynamically.

Since:
1.6

Constructor Summary
AbstractTypeResolver()
           
 
Method Summary
abstract  JavaType resolveAbstractType(DeserializationConfig config, JavaType type)
          Method called to try to resolve an abstract type into concrete type, usually for purposes of deserializing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTypeResolver

public AbstractTypeResolver()
Method Detail

resolveAbstractType

public abstract JavaType resolveAbstractType(DeserializationConfig config,
                                             JavaType type)
Method called to try to resolve an abstract type into concrete type, usually for purposes of deserializing.

Parameters:
config - Deserialization configuration in use
type - Abstract type (with generic type parameters if any) to resolve
Returns:
Resolved concrete type (which should retain generic type parameters of input type, if any), if resolution succeeds; null if resolver does not know how to resolve type