Package | Description |
---|---|
org.codehaus.jackson.map |
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 |
org.codehaus.jackson.map.deser |
Contains implementation classes of deserialization part of
data binding.
|
org.codehaus.jackson.map.deser.impl |
Contains those implementation classes of deserialization part of
data binding that are not considered part of public or semi-public
interfaces.
|
org.codehaus.jackson.map.introspect |
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
|
org.codehaus.jackson.map.jsontype |
Package that contains interfaces that define how to implement
functionality for dynamically resolving type during deserialization.
|
org.codehaus.jackson.map.jsontype.impl |
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver . |
org.codehaus.jackson.map.ser |
Contains implementation classes of serialization part of
data binding.
|
org.codehaus.jackson.xc |
Package that contains XML Compatibility functionality for Jackson, such
as handlers for JAXB annotations
|
Modifier and Type | Field and Description |
---|---|
protected AnnotatedMember |
BeanProperty.Std._member
Physical entity (field, method or constructor argument) that
is used to access value of property (or in case of constructor
property, just placeholder)
|
Modifier and Type | Method and Description |
---|---|
abstract AnnotatedMember |
BeanPropertyDefinition.getAccessor()
Method used to find accessor (getter, field to access) to use for accessing
value of the property.
|
AnnotatedMember |
BeanProperty.getMember()
Method for accessing primary physical entity that represents the property;
annotated field, method or constructor property.
|
AnnotatedMember |
BeanProperty.Std.getMember() |
abstract AnnotatedMember |
BeanPropertyDefinition.getMutator()
Method used to find mutator (constructor parameter, setter, field) to use for
changing value of the property.
|
Modifier and Type | Method and Description |
---|---|
abstract Map<Object,AnnotatedMember> |
BeanDescription.findInjectables() |
Modifier and Type | Method and Description |
---|---|
Object |
AnnotationIntrospector.findInjectableValueId(AnnotatedMember m)
Method called to find out whether given member expectes a value
to be injected, and if so, what is the identifier of the value
to use during injection.
|
Object |
AnnotationIntrospector.Pair.findInjectableValueId(AnnotatedMember m) |
TypeResolverBuilder<?> |
AnnotationIntrospector.findPropertyContentTypeResolver(MapperConfig<?> config,
AnnotatedMember am,
JavaType containerType)
Method for checking if given structured property entity (field or method that
has nominal value of Map, Collection or array type) has annotations
that indicate that specific type resolver is to be used for handling type
information of contained values.
|
TypeResolverBuilder<?> |
AnnotationIntrospector.Pair.findPropertyContentTypeResolver(MapperConfig<?> config,
AnnotatedMember am,
JavaType baseType) |
TypeResolverBuilder<?> |
AnnotationIntrospector.findPropertyTypeResolver(MapperConfig<?> config,
AnnotatedMember am,
JavaType baseType)
Method for checking if given property entity (field or method) has annotations
that indicate that specific type resolver is to be used for handling instances.
|
TypeResolverBuilder<?> |
AnnotationIntrospector.Pair.findPropertyTypeResolver(MapperConfig<?> config,
AnnotatedMember am,
JavaType baseType) |
AnnotationIntrospector.ReferenceProperty |
AnnotationIntrospector.findReferenceType(AnnotatedMember member)
Note: defined as non-abstract to reduce fragility between
versions.
|
AnnotationIntrospector.ReferenceProperty |
AnnotationIntrospector.Pair.findReferenceType(AnnotatedMember member) |
boolean |
AnnotationIntrospector.hasIgnoreMarker(AnnotatedMember m)
Method called to check whether given property is marked to
be ignored; but NOT to determine if it should necessarily
be ignored, since that may depend on other factors.
|
boolean |
AnnotationIntrospector.Pair.hasIgnoreMarker(AnnotatedMember m) |
Boolean |
AnnotationIntrospector.shouldUnwrapProperty(AnnotatedMember member)
Method called to check whether given property is marked to be "unwrapped"
when being serialized (and appropriately handled in reverse direction,
i.e.
|
Boolean |
AnnotationIntrospector.Pair.shouldUnwrapProperty(AnnotatedMember member) |
Constructor and Description |
---|
BeanProperty.Std(String name,
JavaType type,
Annotations contextAnnotations,
AnnotatedMember member) |
Modifier and Type | Method and Description |
---|---|
abstract AnnotatedMember |
SettableBeanProperty.getMember() |
AnnotatedMember |
SettableBeanProperty.MethodProperty.getMember() |
AnnotatedMember |
SettableBeanProperty.SetterlessProperty.getMember() |
AnnotatedMember |
SettableBeanProperty.FieldProperty.getMember() |
AnnotatedMember |
SettableBeanProperty.ManagedReferenceProperty.getMember() |
AnnotatedMember |
SettableBeanProperty.InnerClassProperty.getMember() |
Modifier and Type | Method and Description |
---|---|
void |
BeanDeserializerBuilder.addInjectable(String propertyName,
JavaType propertyType,
Annotations contextAnnotations,
AnnotatedMember member,
Object valueId) |
TypeDeserializer |
BasicDeserializerFactory.findPropertyContentTypeDeserializer(DeserializationConfig config,
JavaType containerType,
AnnotatedMember propertyEntity,
BeanProperty property)
Method called to find and create a type information deserializer for values of
given container (list, array, map) property, if one is needed.
|
TypeDeserializer |
BasicDeserializerFactory.findPropertyTypeDeserializer(DeserializationConfig config,
JavaType baseType,
AnnotatedMember annotated,
BeanProperty property)
Method called to create a type information deserializer for values of
given non-container property, if one is needed.
|
protected JavaType |
BasicDeserializerFactory.resolveType(DeserializationConfig config,
BasicBeanDescription beanDesc,
JavaType type,
AnnotatedMember member,
BeanProperty property)
Helper method used to resolve method return types and field
types.
|
Modifier and Type | Method and Description |
---|---|
AnnotatedMember |
CreatorProperty.getMember() |
Constructor and Description |
---|
ValueInjector(String propertyName,
JavaType type,
Annotations contextAnnotations,
AnnotatedMember mutator,
Object valueId) |
Modifier and Type | Class and Description |
---|---|
class |
AnnotatedConstructor |
class |
AnnotatedField
Object that represents non-static (and usually non-transient/volatile)
fields of a class.
|
class |
AnnotatedMethod |
class |
AnnotatedParameter
Object that represents method parameters, mostly so that associated
annotations can be processed conveniently.
|
class |
AnnotatedWithParams
Intermediate base class that encapsulates features that
constructors and methods share.
|
Modifier and Type | Field and Description |
---|---|
protected LinkedHashMap<Object,AnnotatedMember> |
POJOPropertiesCollector._injectables
Lazily collected list of members that were annotated to
indicate that they represent mutators for deserializer
value injection.
|
protected Map<Object,AnnotatedMember> |
BasicBeanDescription._injectables |
Modifier and Type | Method and Description |
---|---|
AnnotatedMember |
POJOPropertyBuilder.getAccessor() |
AnnotatedMember |
POJOPropertyBuilder.getMutator() |
Modifier and Type | Method and Description |
---|---|
Map<String,AnnotatedMember> |
BasicBeanDescription.findBackReferenceProperties()
Method for locating all back-reference properties (setters, fields) bean has
|
Map<Object,AnnotatedMember> |
BasicBeanDescription.findInjectables() |
Map<Object,AnnotatedMember> |
POJOPropertiesCollector.getInjectables() |
Modifier and Type | Method and Description |
---|---|
protected void |
POJOPropertiesCollector._doAddInjectable(Object id,
AnnotatedMember m) |
Object |
JacksonAnnotationIntrospector.findInjectableValueId(AnnotatedMember m) |
TypeResolverBuilder<?> |
JacksonAnnotationIntrospector.findPropertyContentTypeResolver(MapperConfig<?> config,
AnnotatedMember am,
JavaType containerType)
Since 1.7, it is possible to use
JsonTypeInfo from a property too. |
TypeResolverBuilder<?> |
JacksonAnnotationIntrospector.findPropertyTypeResolver(MapperConfig<?> config,
AnnotatedMember am,
JavaType baseType)
Since 1.7, it is possible to use
JsonTypeInfo from a property too. |
AnnotationIntrospector.ReferenceProperty |
JacksonAnnotationIntrospector.findReferenceType(AnnotatedMember member) |
boolean |
NopAnnotationIntrospector.hasIgnoreMarker(AnnotatedMember member) |
boolean |
JacksonAnnotationIntrospector.hasIgnoreMarker(AnnotatedMember m) |
boolean |
VisibilityChecker.isCreatorVisible(AnnotatedMember m) |
boolean |
VisibilityChecker.Std.isCreatorVisible(AnnotatedMember m) |
Boolean |
JacksonAnnotationIntrospector.shouldUnwrapProperty(AnnotatedMember member) |
Modifier and Type | Method and Description |
---|---|
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)
|
Modifier and Type | Method and Description |
---|---|
Collection<NamedType> |
StdSubtypeResolver.collectAndResolveSubtypes(AnnotatedMember property,
MapperConfig<?> config,
AnnotationIntrospector ai) |
Modifier and Type | Field and Description |
---|---|
protected AnnotatedMember |
BeanPropertyWriter._member
Member (field, method) that represents property and allows access
to associated annotations.
|
Modifier and Type | Method and Description |
---|---|
AnnotatedMember |
BeanPropertyWriter.getMember() |
Modifier and Type | Method and Description |
---|---|
protected BeanPropertyWriter |
BeanSerializerFactory._constructWriter(SerializationConfig config,
TypeBindings typeContext,
PropertyBuilder pb,
boolean staticTyping,
String name,
AnnotatedMember accessor)
Secondary helper method for constructing
BeanPropertyWriter for
given member (field or method). |
protected BeanPropertyWriter |
PropertyBuilder.buildWriter(String name,
JavaType declaredType,
JsonSerializer<Object> ser,
TypeSerializer typeSer,
TypeSerializer contentTypeSer,
AnnotatedMember am,
boolean defaultUseStaticTyping) |
TypeSerializer |
BeanSerializerFactory.findPropertyContentTypeSerializer(JavaType containerType,
SerializationConfig config,
AnnotatedMember accessor,
BeanProperty property)
Method called to create a type information serializer for values of given
container property
if one is needed.
|
TypeSerializer |
BeanSerializerFactory.findPropertyTypeSerializer(JavaType baseType,
SerializationConfig config,
AnnotatedMember accessor,
BeanProperty property)
Method called to create a type information serializer for values of given
non-container property
if one is needed.
|
Constructor and Description |
---|
BeanPropertyWriter(AnnotatedMember member,
Annotations contextAnnotations,
SerializedString name,
JavaType declaredType,
JsonSerializer<Object> ser,
TypeSerializer typeSer,
JavaType serType,
Method m,
Field f,
boolean suppressNulls,
Object suppressableValue) |
BeanPropertyWriter(AnnotatedMember member,
Annotations contextAnnotations,
String name,
JavaType declaredType,
JsonSerializer<Object> ser,
TypeSerializer typeSer,
JavaType serType,
Method m,
Field f,
boolean suppressNulls,
Object suppressableValue) |
Modifier and Type | Method and Description |
---|---|
protected TypeResolverBuilder<?> |
JaxbAnnotationIntrospector._typeResolverFromXmlElements(AnnotatedMember am) |
TypeResolverBuilder<?> |
JaxbAnnotationIntrospector.findPropertyContentTypeResolver(MapperConfig<?> config,
AnnotatedMember am,
JavaType containerType) |
TypeResolverBuilder<?> |
JaxbAnnotationIntrospector.findPropertyTypeResolver(MapperConfig<?> config,
AnnotatedMember am,
JavaType baseType) |
boolean |
JaxbAnnotationIntrospector.hasIgnoreMarker(AnnotatedMember m) |