public class StdSubtypeResolver extends SubtypeResolver implements java.io.Serializable
SubtypeResolver implementation.| Constructor and Description |
|---|
StdSubtypeResolver() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<NamedType> |
collectAndResolveSubtypes(AnnotatedClass type,
MapperConfig<?> config,
AnnotationIntrospector ai)
Deprecated.
|
java.util.Collection<NamedType> |
collectAndResolveSubtypes(AnnotatedMember property,
MapperConfig<?> config,
AnnotationIntrospector ai,
JavaType baseType)
Deprecated.
|
java.util.Collection<NamedType> |
collectAndResolveSubtypesByClass(MapperConfig<?> config,
AnnotatedClass type)
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).
|
java.util.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).
|
java.util.Collection<NamedType> |
collectAndResolveSubtypesByTypeId(MapperConfig<?> config,
AnnotatedClass type)
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).
|
java.util.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).
|
void |
registerSubtypes(java.lang.Class<?>... classes) |
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 void registerSubtypes(NamedType... types)
SubtypeResolverregisterSubtypes in class SubtypeResolverpublic void registerSubtypes(java.lang.Class<?>... classes)
registerSubtypes in class SubtypeResolverpublic java.util.Collection<NamedType> collectAndResolveSubtypesByClass(MapperConfig<?> config, AnnotatedMember property, JavaType baseType)
SubtypeResolvercollectAndResolveSubtypesByClass in class SubtypeResolverbaseType - 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 java.util.Collection<NamedType> collectAndResolveSubtypesByClass(MapperConfig<?> config, AnnotatedClass type)
SubtypeResolvercollectAndResolveSubtypesByClass in class SubtypeResolvertype - 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 java.util.Collection<NamedType> collectAndResolveSubtypesByTypeId(MapperConfig<?> config, AnnotatedMember property, JavaType baseType)
SubtypeResolvercollectAndResolveSubtypesByTypeId in class SubtypeResolverbaseType - 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 java.util.Collection<NamedType> collectAndResolveSubtypesByTypeId(MapperConfig<?> config, AnnotatedClass type)
SubtypeResolvercollectAndResolveSubtypesByTypeId in class SubtypeResolvertype - 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 java.util.Collection<NamedType> collectAndResolveSubtypes(AnnotatedMember property, MapperConfig<?> config, AnnotationIntrospector ai, JavaType baseType)
collectAndResolveSubtypes in class SubtypeResolver@Deprecated public java.util.Collection<NamedType> collectAndResolveSubtypes(AnnotatedClass type, MapperConfig<?> config, AnnotationIntrospector ai)
collectAndResolveSubtypes in class SubtypeResolver"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"