Package | Description |
---|---|
com.fasterxml.jackson.databind |
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 |
com.fasterxml.jackson.databind.cfg |
Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
com.fasterxml.jackson.databind ). |
com.fasterxml.jackson.databind.deser |
Contains implementation classes of deserialization part of
data binding.
|
com.fasterxml.jackson.databind.introspect |
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
|
com.fasterxml.jackson.databind.jsontype |
Package that contains interfaces that define how to implement
functionality for dynamically resolving type during deserialization.
|
com.fasterxml.jackson.databind.jsontype.impl |
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver . |
com.fasterxml.jackson.databind.ser |
Contains implementation classes of serialization part of
data binding.
|
com.fasterxml.jackson.databind.util |
Utility classes for Mapper package.
|
Modifier and Type | Field and Description |
---|---|
protected static AnnotationIntrospector |
ObjectMapper.DEFAULT_ANNOTATION_INTROSPECTOR |
Modifier and Type | Method and Description |
---|---|
AnnotationIntrospector |
SerializerProvider.getAnnotationIntrospector() |
AnnotationIntrospector |
SerializationConfig.getAnnotationIntrospector() |
AnnotationIntrospector |
DeserializationContext.getAnnotationIntrospector() |
AnnotationIntrospector |
DeserializationConfig.getAnnotationIntrospector()
Method for getting
AnnotationIntrospector configured
to introspect annotation values used for configuration. |
abstract AnnotationIntrospector |
DatabindContext.getAnnotationIntrospector()
Convenience method for accessing serialization view in use (if any); equivalent to:
|
static AnnotationIntrospector |
AnnotationIntrospector.nopInstance()
Factory method for accessing "no operation" implementation
of introspector: instance that will never find any annotation-based
configuration.
|
static AnnotationIntrospector |
AnnotationIntrospector.pair(AnnotationIntrospector a1,
AnnotationIntrospector a2) |
Modifier and Type | Method and Description |
---|---|
Collection<AnnotationIntrospector> |
AnnotationIntrospector.allIntrospectors()
Method that can be used to collect all "real" introspectors that
this introspector contains, if any; or this introspector
if it is not a container.
|
Collection<AnnotationIntrospector> |
AnnotationIntrospector.allIntrospectors(Collection<AnnotationIntrospector> result)
Method that can be used to collect all "real" introspectors that
this introspector contains, if any; or this introspector
if it is not a container.
|
Modifier and Type | Method and Description |
---|---|
void |
Module.SetupContext.appendAnnotationIntrospector(AnnotationIntrospector ai)
Method for registering specified
AnnotationIntrospector as the lowest
priority introspector, chained with existing introspector(s) and called
as fallback for cases not otherwise handled. |
void |
Module.SetupContext.insertAnnotationIntrospector(AnnotationIntrospector ai)
Method for registering specified
AnnotationIntrospector as the highest
priority introspector (will be chained with existing introspector(s) which
will be used as fallbacks for cases this introspector does not handle) |
static AnnotationIntrospector |
AnnotationIntrospector.pair(AnnotationIntrospector a1,
AnnotationIntrospector a2) |
ObjectMapper |
ObjectMapper.setAnnotationIntrospector(AnnotationIntrospector ai)
Method for changing
AnnotationIntrospector used by this
mapper instance for both serialization and deserialization |
ObjectMapper |
ObjectMapper.setAnnotationIntrospectors(AnnotationIntrospector serializerAI,
AnnotationIntrospector deserializerAI)
Method for changing
AnnotationIntrospector instances used
by this mapper instance for serialization and deserialization,
specifying them separately so that different introspection can be
used for different aspects |
SerializationConfig |
SerializationConfig.with(AnnotationIntrospector ai) |
DeserializationConfig |
DeserializationConfig.with(AnnotationIntrospector ai) |
SerializationConfig |
SerializationConfig.withAppendedAnnotationIntrospector(AnnotationIntrospector ai) |
DeserializationConfig |
DeserializationConfig.withAppendedAnnotationIntrospector(AnnotationIntrospector ai) |
SerializationConfig |
SerializationConfig.withInsertedAnnotationIntrospector(AnnotationIntrospector ai) |
DeserializationConfig |
DeserializationConfig.withInsertedAnnotationIntrospector(AnnotationIntrospector ai) |
Modifier and Type | Method and Description |
---|---|
Collection<AnnotationIntrospector> |
AnnotationIntrospector.allIntrospectors(Collection<AnnotationIntrospector> result)
Method that can be used to collect all "real" introspectors that
this introspector contains, if any; or this introspector
if it is not a container.
|
Modifier and Type | Field and Description |
---|---|
protected AnnotationIntrospector |
BaseSettings._annotationIntrospector
Introspector used for accessing annotation value based configuration.
|
Modifier and Type | Method and Description |
---|---|
AnnotationIntrospector |
MapperConfig.getAnnotationIntrospector()
Method for getting
AnnotationIntrospector configured
to introspect annotation values used for configuration. |
AnnotationIntrospector |
BaseSettings.getAnnotationIntrospector() |
Modifier and Type | Method and Description |
---|---|
abstract T |
MapperConfigBase.with(AnnotationIntrospector ai)
Method for constructing and returning a new instance with different
AnnotationIntrospector to use (replacing old one). |
BaseSettings |
BaseSettings.withAnnotationIntrospector(AnnotationIntrospector ai) |
abstract T |
MapperConfigBase.withAppendedAnnotationIntrospector(AnnotationIntrospector introspector)
Method for constructing and returning a new instance with additional
AnnotationIntrospector appended (as the lowest priority one) |
BaseSettings |
BaseSettings.withAppendedAnnotationIntrospector(AnnotationIntrospector ai) |
abstract T |
MapperConfigBase.withInsertedAnnotationIntrospector(AnnotationIntrospector introspector)
Method for constructing and returning a new instance with additional
AnnotationIntrospector inserted (as the highest priority one) |
BaseSettings |
BaseSettings.withInsertedAnnotationIntrospector(AnnotationIntrospector ai) |
Constructor and Description |
---|
BaseSettings(ClassIntrospector ci,
AnnotationIntrospector ai,
VisibilityChecker<?> vc,
PropertyNamingStrategy pns,
TypeFactory tf,
TypeResolverBuilder<?> typer,
DateFormat dateFormat,
HandlerInstantiator hi,
Locale locale,
TimeZone tz,
Base64Variant defaultBase64) |
Modifier and Type | Class and Description |
---|---|
class |
AnnotationIntrospectorPair
Helper class that allows using 2 introspectors such that one
introspector acts as the primary one to use; and second one
as a fallback used if the primary does not provide conclusive
or useful result for a method.
|
class |
JacksonAnnotationIntrospector
AnnotationIntrospector implementation that handles standard
Jackson annotations. |
class |
NopAnnotationIntrospector
Dummy, "no-operation" implementation of
AnnotationIntrospector . |
Modifier and Type | Field and Description |
---|---|
protected AnnotationIntrospector |
POJOPropertyBuilder._annotationIntrospector |
protected AnnotationIntrospector |
POJOPropertiesCollector._annotationIntrospector |
protected AnnotationIntrospector |
BasicBeanDescription._annotationIntrospector |
protected AnnotationIntrospector |
AnnotatedClass._annotationIntrospector
Filter used to determine which annotations to gather; used
to optimize things so that unnecessary annotations are
ignored.
|
protected AnnotationIntrospector |
AnnotationIntrospectorPair._primary |
protected AnnotationIntrospector |
AnnotationIntrospectorPair._secondary |
Modifier and Type | Method and Description |
---|---|
static AnnotationIntrospector |
AnnotationIntrospectorPair.create(AnnotationIntrospector primary,
AnnotationIntrospector secondary)
Helper method for constructing a Pair from two given introspectors (if
neither is null); or returning non-null introspector if one is null
(and return just null if both are null)
|
AnnotationIntrospector |
POJOPropertiesCollector.getAnnotationIntrospector() |
Modifier and Type | Method and Description |
---|---|
Collection<AnnotationIntrospector> |
AnnotationIntrospectorPair.allIntrospectors() |
Collection<AnnotationIntrospector> |
AnnotationIntrospectorPair.allIntrospectors(Collection<AnnotationIntrospector> result) |
Modifier and Type | Method and Description |
---|---|
protected void |
POJOPropertiesCollector._addGetterMethod(AnnotatedMethod m,
AnnotationIntrospector ai) |
protected void |
POJOPropertiesCollector._addSetterMethod(AnnotatedMethod m,
AnnotationIntrospector ai) |
static AnnotatedClass |
AnnotatedClass.construct(Class<?> cls,
AnnotationIntrospector aintr,
ClassIntrospector.MixInResolver mir)
Factory method that instantiates an instance.
|
static AnnotatedClass |
AnnotatedClass.constructWithoutSuperTypes(Class<?> cls,
AnnotationIntrospector aintr,
ClassIntrospector.MixInResolver mir)
Method similar to
AnnotatedClass.construct(java.lang.Class<?>, com.fasterxml.jackson.databind.AnnotationIntrospector, com.fasterxml.jackson.databind.introspect.ClassIntrospector.MixInResolver) , but that will NOT include
information from supertypes; only class itself and any direct
mix-ins it may have. |
static AnnotationIntrospector |
AnnotationIntrospectorPair.create(AnnotationIntrospector primary,
AnnotationIntrospector secondary)
Helper method for constructing a Pair from two given introspectors (if
neither is null); or returning non-null introspector if one is null
(and return just null if both are null)
|
Modifier and Type | Method and Description |
---|---|
Collection<AnnotationIntrospector> |
AnnotationIntrospectorPair.allIntrospectors(Collection<AnnotationIntrospector> result) |
Constructor and Description |
---|
AnnotationIntrospectorPair(AnnotationIntrospector p,
AnnotationIntrospector s) |
POJOPropertyBuilder(PropertyName internalName,
AnnotationIntrospector ai,
boolean forSerialization) |
POJOPropertyBuilder(PropertyName internalName,
PropertyName name,
AnnotationIntrospector annotationIntrospector,
boolean forSerialization) |
POJOPropertyBuilder(String simpleInternalName,
AnnotationIntrospector annotationIntrospector,
boolean forSerialization)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
abstract 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,
JavaType baseType)
Method for finding out all reachable subtypes for a property specified
by given element (method or field)
|
Modifier and Type | Method and Description |
---|---|
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)
|
Collection<NamedType> |
StdSubtypeResolver.collectAndResolveSubtypes(AnnotatedClass type,
MapperConfig<?> config,
AnnotationIntrospector ai) |
Collection<NamedType> |
StdSubtypeResolver.collectAndResolveSubtypes(AnnotatedMember property,
MapperConfig<?> config,
AnnotationIntrospector ai,
JavaType baseType) |
Modifier and Type | Field and Description |
---|---|
protected AnnotationIntrospector |
PropertyBuilder._annotationIntrospector |
Modifier and Type | Method and Description |
---|---|
protected boolean |
BeanPropertyWriter.isRequired(AnnotationIntrospector intr)
Deprecated.
since 2.2, use
BeanPropertyWriter.isRequired() instead. |
Modifier and Type | Field and Description |
---|---|
protected AnnotationIntrospector |
SimpleBeanPropertyDefinition._introspector |
Modifier and Type | Method and Description |
---|---|
static <ET extends Enum<ET>> |
EnumResolver.constructFor(Class<ET> enumCls,
AnnotationIntrospector ai)
Factory method for constructing resolver that maps from Enum.name() into
Enum value
|
static EnumResolver<?> |
EnumResolver.constructUnsafe(Class<?> rawEnumCls,
AnnotationIntrospector ai)
This method is needed because of the dynamic nature of constructing Enum
resolvers.
|
Copyright © 2014 FasterXML. All Rights Reserved.