public class ActionResolver
extends com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
Modifier and Type | Method and Description |
---|---|
Class<? extends Action> |
fromId(String id) |
String |
getDescForKnownTypeIds() |
static ActionResolver |
getInstance() |
com.fasterxml.jackson.annotation.JsonTypeInfo.Id |
getMechanism() |
String |
idFromBaseType() |
String |
idFromValue(Object value) |
String |
idFromValueAndType(Object value,
Class<?> aClass) |
ActionResolver |
init(ClassLoader cl) |
void |
init(com.fasterxml.jackson.databind.JavaType baseType) |
void |
setTypeFactory(com.fasterxml.jackson.databind.type.TypeFactory tf) |
String |
toId(Class<?> aClass) |
com.fasterxml.jackson.databind.JavaType |
typeFromId(com.fasterxml.jackson.databind.DatabindContext databindContext,
String id) |
public ActionResolver init(ClassLoader cl)
public static ActionResolver getInstance()
public Class<? extends Action> fromId(String id) throws IOException
IOException
public void init(com.fasterxml.jackson.databind.JavaType baseType)
init
in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
init
in class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
public com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()
public String idFromBaseType()
idFromBaseType
in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
idFromBaseType
in class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
public com.fasterxml.jackson.databind.JavaType typeFromId(com.fasterxml.jackson.databind.DatabindContext databindContext, String id) throws IOException
typeFromId
in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
typeFromId
in class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
IOException
public String getDescForKnownTypeIds()
getDescForKnownTypeIds
in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
getDescForKnownTypeIds
in class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
public void setTypeFactory(com.fasterxml.jackson.databind.type.TypeFactory tf)
Copyright © 2017–2022 Red Hat, Inc.. All rights reserved.