public class TridionFieldTypeIdResolver extends Object implements com.fasterxml.jackson.databind.jsontype.TypeIdResolver
| Constructor and Description |
|---|
TridionFieldTypeIdResolver() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getClassForKey(String type) |
com.fasterxml.jackson.annotation.JsonTypeInfo.Id |
getMechanism() |
String |
idFromBaseType() |
String |
idFromValue(Object o) |
String |
idFromValueAndType(Object o,
Class<?> aClass) |
void |
init(com.fasterxml.jackson.databind.JavaType javaType) |
com.fasterxml.jackson.databind.JavaType |
typeFromId(com.fasterxml.jackson.databind.DatabindContext databindContext,
String s) |
com.fasterxml.jackson.databind.JavaType |
typeFromId(String s) |
public void init(com.fasterxml.jackson.databind.JavaType javaType)
init in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverpublic String idFromValue(Object o)
idFromValue in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverpublic String idFromValueAndType(Object o, Class<?> aClass)
idFromValueAndType in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverpublic String idFromBaseType()
idFromBaseType in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverpublic com.fasterxml.jackson.databind.JavaType typeFromId(String s)
typeFromId in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverpublic com.fasterxml.jackson.databind.JavaType typeFromId(com.fasterxml.jackson.databind.DatabindContext databindContext,
String s)
typeFromId in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverpublic com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()
getMechanism in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverCopyright © 2017. All rights reserved.