public class KernelTypeResolver extends Object implements com.fasterxml.jackson.databind.jsontype.TypeIdResolver
TypeIdResolver which will be used by Jackson library during
the serialization in JSON and deserialization of Kernels| Constructor and Description |
|---|
KernelTypeResolver() |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.annotation.JsonTypeInfo.Id |
getMechanism() |
String |
idFromBaseType() |
String |
idFromValue(Object obj) |
String |
idFromValueAndType(Object arg0,
Class<?> arg1) |
void |
init(com.fasterxml.jackson.databind.JavaType arg0) |
com.fasterxml.jackson.databind.JavaType |
typeFromId(String arg0) |
public com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()
getMechanism in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverpublic String idFromBaseType()
idFromBaseType in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverpublic String idFromValue(Object obj)
idFromValue in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverpublic void init(com.fasterxml.jackson.databind.JavaType arg0)
init in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverpublic com.fasterxml.jackson.databind.JavaType typeFromId(String arg0)
typeFromId in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolverCopyright © 2018 Semantic Analytics Group @ Uniroma2. All rights reserved.