public abstract class SubtypeResolver extends Object
Constructor and Description |
---|
SubtypeResolver() |
Modifier and Type | Method and Description |
---|---|
abstract Collection<NamedType> |
collectAndResolveSubtypes(AnnotatedClass basetype,
MapperConfig<?> config,
AnnotationIntrospector ai)
Method for finding out all reachable subtypes for given type.
|
abstract Collection<NamedType> |
collectAndResolveSubtypes(AnnotatedMember property,
MapperConfig<?> config,
AnnotationIntrospector ai,
JavaType baseType)
Method for finding out all reachable subtypes for a property specified
by given element (method or field)
|
abstract void |
registerSubtypes(Class<?>... classes) |
abstract void |
registerSubtypes(NamedType... types)
Method for registering specified subtypes (possibly including type
names); for type entries without name, non-qualified class name
as used as name (unless overridden by annotation).
|
public abstract void registerSubtypes(NamedType... types)
public abstract void registerSubtypes(Class<?>... classes)
public abstract Collection<NamedType> collectAndResolveSubtypes(AnnotatedMember property, MapperConfig<?> config, AnnotationIntrospector ai, JavaType baseType)
baseType
- Effective property base type to use; may differ from
actual type of property; for structured types it is content (value) type and NOT
structured type.public abstract Collection<NamedType> collectAndResolveSubtypes(AnnotatedClass basetype, MapperConfig<?> config, AnnotationIntrospector ai)
Copyright © 2016 JBoss by Red Hat. All rights reserved.