org.codehaus.jackson.map.jsontype.impl
Class TypeIdResolverBase
java.lang.Object
org.codehaus.jackson.map.jsontype.impl.TypeIdResolverBase
- All Implemented Interfaces:
- TypeIdResolver
- Direct Known Subclasses:
- ClassNameIdResolver, TypeNameIdResolver
public abstract class TypeIdResolverBase
- extends Object
- implements TypeIdResolver
Method Summary |
void |
init(JavaType bt)
Method that will be called once before any type resolution calls;
used to initialize instance with configuration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_baseType
protected final JavaType _baseType
TypeIdResolverBase
protected TypeIdResolverBase(JavaType baseType)
init
public void init(JavaType bt)
- Description copied from interface:
TypeIdResolver
- Method that will be called once before any type resolution calls;
used to initialize instance with configuration. This is necessary
since instances may be created via reflection, without ability to
call specific constructor to pass in configuration settings.
- Specified by:
init
in interface TypeIdResolver
- Parameters:
bt
- Base type for which this id resolver instance is
used