public abstract class SubtypeResolver extends Object
Constructor and Description |
---|
SubtypeResolver() |
Modifier and Type | Method and Description |
---|---|
Collection<NamedType> |
collectAndResolveSubtypes(AnnotatedClass baseType,
MapperConfig<?> config,
AnnotationIntrospector ai)
Deprecated.
Since 2.6 Use either
collectAndResolveSubtypesByClass(MapperConfig, AnnotatedClass)
or collectAndResolveSubtypesByTypeId(MapperConfig, AnnotatedClass)
instead. |
Collection<NamedType> |
collectAndResolveSubtypes(AnnotatedMember property,
MapperConfig<?> config,
AnnotationIntrospector ai,
JavaType baseType)
Deprecated.
|
Collection<NamedType> |
collectAndResolveSubtypesByClass(MapperConfig<?> config,
AnnotatedClass baseType)
Method for finding out all reachable subtypes for given type,
such that access is by type,
typically needed for serialization (converting from type to type name).
|
Collection<NamedType> |
collectAndResolveSubtypesByClass(MapperConfig<?> config,
AnnotatedMember property,
JavaType baseType)
Method for finding out all reachable subtypes for a property specified
by given element (method or field),
such that access is by type,
typically needed for serialization (converting from type to type name).
|
Collection<NamedType> |
collectAndResolveSubtypesByTypeId(MapperConfig<?> config,
AnnotatedClass baseType)
Method for finding out all reachable subtypes for given type,
such that access is by type id,
typically needed for deserialization (converting from type id to type).
|
Collection<NamedType> |
collectAndResolveSubtypesByTypeId(MapperConfig<?> config,
AnnotatedMember property,
JavaType baseType)
Method for finding out all reachable subtypes for a property specified
by given element (method or field),
such that access is by type id,
typically needed for deserialization (converting from type id to type).
|
abstract void |
registerSubtypes(Class<?>... classes) |
abstract void |
registerSubtypes(Collection<Class<?>> subtypes) |
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 void registerSubtypes(Collection<Class<?>> subtypes)
public Collection<NamedType> collectAndResolveSubtypesByClass(MapperConfig<?> config, AnnotatedMember property, 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 Collection<NamedType> collectAndResolveSubtypesByClass(MapperConfig<?> config, AnnotatedClass 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 Collection<NamedType> collectAndResolveSubtypesByTypeId(MapperConfig<?> config, AnnotatedMember property, 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 Collection<NamedType> collectAndResolveSubtypesByTypeId(MapperConfig<?> config, AnnotatedClass 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.@Deprecated public Collection<NamedType> collectAndResolveSubtypes(AnnotatedMember property, MapperConfig<?> config, AnnotationIntrospector ai, JavaType baseType)
collectAndResolveSubtypesByClass(MapperConfig, AnnotatedMember, JavaType)
or collectAndResolveSubtypesByTypeId(MapperConfig, AnnotatedMember, JavaType)
instead.@Deprecated public Collection<NamedType> collectAndResolveSubtypes(AnnotatedClass baseType, MapperConfig<?> config, AnnotationIntrospector ai)
collectAndResolveSubtypesByClass(MapperConfig, AnnotatedClass)
or collectAndResolveSubtypesByTypeId(MapperConfig, AnnotatedClass)
instead.Copyright © 2018 JBoss by Red Hat. All rights reserved.