Package io.tesler.core.ui.field
Class PackageScanFieldIdResolver
- java.lang.Object
-
- io.tesler.core.ui.field.PackageScanFieldIdResolver
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsontype.TypeIdResolver
public class PackageScanFieldIdResolver extends Object implements com.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
-
Constructor Summary
Constructors Constructor Description PackageScanFieldIdResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescForKnownTypeIds()
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)
-
-
-
Method Detail
-
init
public void init(com.fasterxml.jackson.databind.JavaType javaType)
- Specified by:
init
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
idFromValue
public String idFromValue(Object o)
- Specified by:
idFromValue
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
idFromBaseType
public String idFromBaseType()
- Specified by:
idFromBaseType
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
idFromValueAndType
public String idFromValueAndType(Object o, Class<?> aClass)
- Specified by:
idFromValueAndType
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
typeFromId
public com.fasterxml.jackson.databind.JavaType typeFromId(com.fasterxml.jackson.databind.DatabindContext databindContext, String s) throws IOException
- Specified by:
typeFromId
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
- Throws:
IOException
-
getDescForKnownTypeIds
public String getDescForKnownTypeIds()
- Specified by:
getDescForKnownTypeIds
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
getMechanism
public com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()
- Specified by:
getMechanism
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
-
-