public abstract class TypeIdResolverBase extends Object implements TypeIdResolver
Modifier and Type | Field and Description |
---|---|
protected JavaType |
_baseType
Common base type for all polymorphic instances handled.
|
protected TypeFactory |
_typeFactory |
Modifier | Constructor and Description |
---|---|
protected |
TypeIdResolverBase(JavaType baseType,
TypeFactory typeFactory) |
Modifier and Type | Method and Description |
---|---|
String |
idFromBaseType() |
void |
init(JavaType bt)
Method that will be called once before any type resolution calls;
used to initialize instance with configuration.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMechanism, idFromValue, idFromValueAndType, typeFromId
protected final TypeFactory _typeFactory
protected final JavaType _baseType
protected TypeIdResolverBase(JavaType baseType, TypeFactory typeFactory)
public void init(JavaType bt)
TypeIdResolver
init
in interface TypeIdResolver
bt
- Base type for which this id resolver instance is
usedpublic String idFromBaseType()