public abstract class SimpleTypeResolutionProvider extends Object implements TypeResolutionProvider
TypeResolutionProvider
.
Subclasses should define a public constructor that registers classes by calling
register(Class)
.Constructor and Description |
---|
SimpleTypeResolutionProvider() |
Modifier and Type | Method and Description |
---|---|
protected void |
register(Class<?> clazz)
To be called by subclasses to register a class
|
List<Class<?>> |
registeredClasses()
Returns a list of classes registered with this provider
|
org.codehaus.jackson.map.Module |
registeredExtensions()
Returns a module defining custom serializers and deserializers
registered with this provided.
|
protected final void register(Class<?> clazz)
clazz
- the class to registerpublic final List<Class<?>> registeredClasses()
TypeResolutionProvider
registeredClasses
in interface TypeResolutionProvider
public org.codehaus.jackson.map.Module registeredExtensions()
TypeResolutionProvider
null
may be returned,
indicating none are registered.registeredExtensions
in interface TypeResolutionProvider
Copyright © 2020 Actian Corporation. All rights reserved.