org.codehaus.jackson.map.util
Class SubTypeHelper
java.lang.Object
org.codehaus.jackson.map.util.SubTypeHelper
public class SubTypeHelper
- extends Object
Helper class used to encapsulate details of resolving information about
subtypes, for Polymorphic Type Handling.
- Since:
- 1.5
- Author:
- tatu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
public static final SubTypeHelper instance
collectAndResolveSubtypes
public static List<NamedType> collectAndResolveSubtypes(Annotated base,
MapperConfig<?> config,
AnnotationIntrospector ai)
- Parameters:
base
- Base member to use for type resolution: either annotated type (class),
or property (field, getter/setter)
_collectAndResolve
protected List<NamedType> _collectAndResolve(AnnotatedClass rootType,
MapperConfig<?> config,
AnnotationIntrospector ai,
Collection<NamedType> subtypeList)
- Parameters:
rootType
- If type resolution started with a root type, definition of
that type; null if
- Returns: