Uses of Class
org.codehaus.jackson.map.jsontype.NamedType
Packages that use NamedType
Package
Description
Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
ObjectMapper
class, as well
as convenience methods included in
JsonParser
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
Package that contains interfaces that define how to implement
functionality for dynamically resolving type during deserialization.
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver
.Package that contains XML Compatibility functionality for Jackson, such
as handlers for JAXB annotations
-
Uses of NamedType in org.codehaus.jackson.map
Methods in org.codehaus.jackson.map that return types with arguments of type NamedTypeModifier and TypeMethodDescriptionAnnotationIntrospector.findSubtypes
(Annotated a) Method for locating annotation-specified subtypes related to annotated entity (class, method, field).AnnotationIntrospector.Pair.findSubtypes
(Annotated a) Methods in org.codehaus.jackson.map with parameters of type NamedTypeModifier and TypeMethodDescriptionvoid
ObjectMapper.registerSubtypes
(NamedType... types) Method for registering specified class as a subtype, so that typename-based resolution can link supertypes to subtypes (as an alternative to using annotations).Method parameters in org.codehaus.jackson.map with type arguments of type NamedTypeModifier and TypeMethodDescriptionObjectMapper.DefaultTypeResolverBuilder.buildTypeDeserializer
(DeserializationConfig config, JavaType baseType, Collection<NamedType> subtypes, BeanProperty property) ObjectMapper.DefaultTypeResolverBuilder.buildTypeSerializer
(SerializationConfig config, JavaType baseType, Collection<NamedType> subtypes, BeanProperty property) -
Uses of NamedType in org.codehaus.jackson.map.introspect
Methods in org.codehaus.jackson.map.introspect that return types with arguments of type NamedType -
Uses of NamedType in org.codehaus.jackson.map.jsontype
Methods in org.codehaus.jackson.map.jsontype that return types with arguments of type NamedTypeModifier and TypeMethodDescriptionabstract Collection<NamedType>
SubtypeResolver.collectAndResolveSubtypes
(AnnotatedClass basetype, MapperConfig<?> config, AnnotationIntrospector ai) Method for finding out all reachable subtypes for given type.abstract Collection<NamedType>
SubtypeResolver.collectAndResolveSubtypes
(AnnotatedMember property, MapperConfig<?> config, AnnotationIntrospector ai) Method for finding out all reachable subtypes for a property specified by given element (method or field)Methods in org.codehaus.jackson.map.jsontype with parameters of type NamedTypeModifier and TypeMethodDescriptionabstract void
SubtypeResolver.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).Method parameters in org.codehaus.jackson.map.jsontype with type arguments of type NamedTypeModifier and TypeMethodDescriptionTypeResolverBuilder.buildTypeDeserializer
(DeserializationConfig config, JavaType baseType, Collection<NamedType> subtypes, BeanProperty property) Method for building type deserializer based on current configuration of this builder.TypeResolverBuilder.buildTypeSerializer
(SerializationConfig config, JavaType baseType, Collection<NamedType> subtypes, BeanProperty property) Method for building type serializer based on current configuration of this builder. -
Uses of NamedType in org.codehaus.jackson.map.jsontype.impl
Fields in org.codehaus.jackson.map.jsontype.impl with type parameters of type NamedTypeModifier and TypeFieldDescriptionprotected LinkedHashSet<NamedType>
StdSubtypeResolver._registeredSubtypes
Methods in org.codehaus.jackson.map.jsontype.impl that return types with arguments of type NamedTypeModifier and TypeMethodDescriptionStdSubtypeResolver.collectAndResolveSubtypes
(AnnotatedClass type, MapperConfig<?> config, AnnotationIntrospector ai) StdSubtypeResolver.collectAndResolveSubtypes
(AnnotatedMember property, MapperConfig<?> config, AnnotationIntrospector ai) Methods in org.codehaus.jackson.map.jsontype.impl with parameters of type NamedTypeModifier and TypeMethodDescriptionprotected void
StdSubtypeResolver._collectAndResolve
(AnnotatedClass annotatedType, NamedType namedType, MapperConfig<?> config, AnnotationIntrospector ai, HashMap<NamedType, NamedType> collectedSubtypes) Method called to find subtypes for a specific type (class)void
StdSubtypeResolver.registerSubtypes
(NamedType... types) Method parameters in org.codehaus.jackson.map.jsontype.impl with type arguments of type NamedTypeModifier and TypeMethodDescriptionprotected void
StdSubtypeResolver._collectAndResolve
(AnnotatedClass annotatedType, NamedType namedType, MapperConfig<?> config, AnnotationIntrospector ai, HashMap<NamedType, NamedType> collectedSubtypes) Method called to find subtypes for a specific type (class)protected void
StdSubtypeResolver._collectAndResolve
(AnnotatedClass annotatedType, NamedType namedType, MapperConfig<?> config, AnnotationIntrospector ai, HashMap<NamedType, NamedType> collectedSubtypes) Method called to find subtypes for a specific type (class)StdTypeResolverBuilder.buildTypeDeserializer
(DeserializationConfig config, JavaType baseType, Collection<NamedType> subtypes, BeanProperty property) StdTypeResolverBuilder.buildTypeSerializer
(SerializationConfig config, JavaType baseType, Collection<NamedType> subtypes, BeanProperty property) static TypeNameIdResolver
TypeNameIdResolver.construct
(MapperConfig<?> config, JavaType baseType, Collection<NamedType> subtypes, boolean forSer, boolean forDeser) protected TypeIdResolver
StdTypeResolverBuilder.idResolver
(MapperConfig<?> config, JavaType baseType, Collection<NamedType> subtypes, boolean forSer, boolean forDeser) Helper method that will either return configured custom type id resolver, or construct a standard resolver given configuration. -
Uses of NamedType in org.codehaus.jackson.xc
Methods in org.codehaus.jackson.xc that return types with arguments of type NamedType