org.codehaus.jackson.map
Class AbstractTypeResolver
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractTypeResolver
public AbstractTypeResolver()
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 usetype - 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