protected static class XmlTypeResolverBuilder.XmlClassNameIdResolver
extends com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver
| Constructor and Description |
|---|
XmlClassNameIdResolver(com.fasterxml.jackson.databind.JavaType baseType,
com.fasterxml.jackson.databind.type.TypeFactory typeFactory,
com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator ptv) |
| Modifier and Type | Method and Description |
|---|---|
String |
idFromValue(Object value) |
com.fasterxml.jackson.databind.JavaType |
typeFromId(com.fasterxml.jackson.databind.DatabindContext context,
String id) |
_idFrom, _typeFromId, construct, getDescForKnownTypeIds, getMechanism, idFromValueAndType, registerSubtypepublic XmlClassNameIdResolver(com.fasterxml.jackson.databind.JavaType baseType,
com.fasterxml.jackson.databind.type.TypeFactory typeFactory,
com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator ptv)
public String idFromValue(Object value)
idFromValue in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolveridFromValue in class com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolverpublic com.fasterxml.jackson.databind.JavaType typeFromId(com.fasterxml.jackson.databind.DatabindContext context,
String id)
throws IOException
typeFromId in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolvertypeFromId in class com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolverIOExceptionCopyright © 2021 FasterXML. All rights reserved.