org.codehaus.jackson.map.util
Class SubTypeHelper

java.lang.Object
  extended by 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

Field Summary
static SubTypeHelper instance
           
 
Method Summary
protected  List<NamedType> _collectAndResolve(AnnotatedClass rootType, MapperConfig<?> config, AnnotationIntrospector ai, Collection<NamedType> subtypeList)
           
static List<NamedType> collectAndResolveSubtypes(Annotated base, MapperConfig<?> config, AnnotationIntrospector ai)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final SubTypeHelper instance
Method Detail

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: