public class CodecTypeIdResolver
extends com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
| Constructor and Description |
|---|
CodecTypeIdResolver(PluginMap pluginMap,
com.fasterxml.jackson.databind.JavaType baseType,
com.fasterxml.jackson.databind.type.TypeFactory typeFactory,
Collection<com.fasterxml.jackson.databind.jsontype.NamedType> subtypes,
PluginRegistry pluginRegistry) |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.annotation.JsonTypeInfo.Id |
getMechanism() |
String |
idFromValue(Object value) |
String |
idFromValueAndType(Object value,
Class<?> suggestedType) |
boolean |
isValidTypeId(String typeId) |
com.fasterxml.jackson.databind.JavaType |
typeFromId(com.fasterxml.jackson.databind.DatabindContext context,
String id) |
com.fasterxml.jackson.databind.JavaType |
typeFromId(String id) |
public CodecTypeIdResolver(PluginMap pluginMap, com.fasterxml.jackson.databind.JavaType baseType, com.fasterxml.jackson.databind.type.TypeFactory typeFactory, Collection<com.fasterxml.jackson.databind.jsontype.NamedType> subtypes, PluginRegistry pluginRegistry)
public boolean isValidTypeId(String typeId)
public com.fasterxml.jackson.databind.JavaType typeFromId(com.fasterxml.jackson.databind.DatabindContext context,
String id)
typeFromId in class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBasepublic com.fasterxml.jackson.databind.JavaType typeFromId(String id)
typeFromId in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolvertypeFromId in class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBasepublic com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism()
Copyright © 2015 AddThis. All rights reserved.