Package io.atlasmap.v2
Class SimpleResolver
java.lang.Object
com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
io.atlasmap.v2.SimpleResolver
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsontype.TypeIdResolver
public class SimpleResolver
extends com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
-
Field Summary
Modifier and TypeFieldDescriptionFields inherited from class com.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
_baseType, _typeFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.annotation.JsonTypeInfo.Id
idFromValue
(Object value) idFromValueAndType
(Object value, Class<?> aClass) void
init
(com.fasterxml.jackson.databind.JavaType baseType) void
setClassLoader
(ClassLoader classLoader) void
setTypeFactory
(com.fasterxml.jackson.databind.type.TypeFactory tf) com.fasterxml.jackson.databind.JavaType
typeFromId
(com.fasterxml.jackson.databind.DatabindContext databindContext, String id)
-
Field Details
-
typeToId
-
idToType
-
-
Constructor Details
-
SimpleResolver
public SimpleResolver()
-
-
Method Details
-
init
public void init(com.fasterxml.jackson.databind.JavaType baseType) - Specified by:
init
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
- Overrides:
init
in classcom.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
-
getMechanism
public com.fasterxml.jackson.annotation.JsonTypeInfo.Id getMechanism() -
idFromValue
-
idFromValueAndType
-
idFromBaseType
- Specified by:
idFromBaseType
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
- Overrides:
idFromBaseType
in classcom.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
-
typeFromId
public com.fasterxml.jackson.databind.JavaType typeFromId(com.fasterxml.jackson.databind.DatabindContext databindContext, String id) throws IOException - Specified by:
typeFromId
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
- Overrides:
typeFromId
in classcom.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
- Throws:
IOException
-
getDescForKnownTypeIds
- Specified by:
getDescForKnownTypeIds
in interfacecom.fasterxml.jackson.databind.jsontype.TypeIdResolver
- Overrides:
getDescForKnownTypeIds
in classcom.fasterxml.jackson.databind.jsontype.impl.TypeIdResolverBase
-
setClassLoader
-
getClassLoader
-
setTypeFactory
public void setTypeFactory(com.fasterxml.jackson.databind.type.TypeFactory tf)
-