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)
Deprecated.
Since 2.6 Use either
collectAndResolveSubtypesByClass(MapperConfig, AnnotatedClass)
or collectAndResolveSubtypesByTypeId(MapperConfig, AnnotatedClass)
instead. |
abstract 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(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 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 abstract Collection<NamedType> collectAndResolveSubtypes(AnnotatedMember property, MapperConfig<?> config, AnnotationIntrospector ai, JavaType baseType)
collectAndResolveSubtypesByClass(MapperConfig, AnnotatedMember, JavaType)
or collectAndResolveSubtypesByTypeId(MapperConfig, AnnotatedMember, JavaType)
instead.@Deprecated public abstract Collection<NamedType> collectAndResolveSubtypes(AnnotatedClass baseType, MapperConfig<?> config, AnnotationIntrospector ai)
collectAndResolveSubtypesByClass(MapperConfig, AnnotatedClass)
or collectAndResolveSubtypesByTypeId(MapperConfig, AnnotatedClass)
instead.Copyright © 2014–2015 FasterXML. All rights reserved.