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, registerSubtype
public 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.TypeIdResolver
idFromValue
in class com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver
public com.fasterxml.jackson.databind.JavaType typeFromId(com.fasterxml.jackson.databind.DatabindContext context, String id) throws IOException
typeFromId
in interface com.fasterxml.jackson.databind.jsontype.TypeIdResolver
typeFromId
in class com.fasterxml.jackson.databind.jsontype.impl.ClassNameIdResolver
IOException
Copyright © 2019 FasterXML. All rights reserved.