public abstract class AbstractTypeRegistryIdResolver extends Object implements com.fasterxml.jackson.databind.jsontype.TypeIdResolver
as a way of customizing the class creation.| Constructor and Description |
|---|
AbstractTypeRegistryIdResolver() |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.annotation.JsonTypeInfo.Id |
getMechanism() |
protected abstract TypeRegistry |
getTypeRegistry() |
String |
idFromBaseType() |
String |
idFromValue(Object obj) |
String |
idFromValueAndType(Object obj,
Class<?> clazz) |
void |
init(com.fasterxml.jackson.databind.JavaType baseType) |
com.fasterxml.jackson.databind.JavaType |
typeFromId(com.fasterxml.jackson.databind.DatabindContext context,
String id) |
com.fasterxml.jackson.databind.JavaType |
typeFromId(String id) |
protected abstract TypeRegistry getTypeRegistry()
public void init(com.fasterxml.jackson.databind.JavaType baseType)
init in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverpublic com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()
getMechanism in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverpublic String idFromValue(Object obj)
idFromValue in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverpublic String idFromBaseType()
idFromBaseType in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverpublic String idFromValueAndType(Object obj, Class<?> clazz)
idFromValueAndType in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverpublic com.fasterxml.jackson.databind.JavaType typeFromId(String id)
typeFromId in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverpublic com.fasterxml.jackson.databind.JavaType typeFromId(com.fasterxml.jackson.databind.DatabindContext context,
String id)
typeFromId in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverCopyright © 2016. All rights reserved.