Package | Description |
---|---|
com.fasterxml.jackson.databind.deser |
Contains implementation classes of deserialization part of
data binding.
|
com.fasterxml.jackson.databind.deser.impl |
Contains those implementation classes of deserialization part of
data binding that are not considered part of public or semi-public
interfaces.
|
com.fasterxml.jackson.databind.deser.std |
Contains public standard implementations of abstraction that
Jackson uses.
|
Modifier and Type | Class and Description |
---|---|
class |
CreatorProperty
This concrete sub-class implements property that is passed
via Creator (constructor or static factory method).
|
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<java.lang.String,SettableBeanProperty> |
BeanDeserializerBuilder._backRefProperties
Back-reference properties this bean contains (if any)
|
protected java.util.Map<java.lang.String,SettableBeanProperty> |
AbstractDeserializer._backRefProperties |
protected java.util.Map<java.lang.String,SettableBeanProperty> |
BeanDeserializerBase._backRefs
We may also have one or more back reference fields (usually
zero or one).
|
protected java.util.Map<java.lang.String,SettableBeanProperty> |
BeanDeserializerBuilder._properties
Properties to deserialize collected so far.
|
Modifier and Type | Method and Description |
---|---|
protected SettableBeanProperty |
BeanDeserializerBase._resolveInnerClassValuedProperty(DeserializationContext ctxt,
SettableBeanProperty prop)
Helper method that will handle gruesome details of dealing with properties
that have non-static inner class as value...
|
protected SettableBeanProperty |
BeanDeserializerBase._resolveManagedReferenceProperty(DeserializationContext ctxt,
SettableBeanProperty prop)
Helper method called to see if given property is part of 'managed' property
pair (managed + back reference), and if so, handle resolution details.
|
protected SettableBeanProperty |
BeanDeserializerBase._resolveUnwrappedProperty(DeserializationContext ctxt,
SettableBeanProperty prop)
Helper method called to see if given property might be so-called unwrapped
property: these require special handling.
|
protected SettableBeanProperty |
BeanDeserializerFactory.constructSettableProperty(DeserializationContext ctxt,
BeanDescription beanDesc,
BeanPropertyDefinition propDef,
java.lang.reflect.Type jdkType)
Method that will construct a regular bean property setter using
the given setter method.
|
protected SettableBeanProperty |
BeanDeserializerFactory.constructSetterlessProperty(DeserializationContext ctxt,
BeanDescription beanDesc,
BeanPropertyDefinition propDef)
Method that will construct a regular bean property setter using
the given setter method.
|
SettableBeanProperty |
BeanDeserializerBase.findBackReference(java.lang.String logicalName)
Method needed by
BeanDeserializerFactory to properly link
managed- and back-reference pairs. |
SettableBeanProperty |
AbstractDeserializer.findBackReference(java.lang.String logicalName)
Method called by
BeanDeserializer to resolve back reference
part of managed references. |
SettableBeanProperty |
BeanDeserializerBase.findProperty(java.lang.String propertyName)
Accessor for finding the property with given name, if POJO
has one.
|
SettableBeanProperty |
BeanDeserializerBuilder.findProperty(java.lang.String propertyName) |
SettableBeanProperty[] |
ValueInstantiator.getFromObjectArguments(DeserializationConfig config)
Method called to determine types of instantiation arguments
to use when creating instances with creator arguments
(when
ValueInstantiator.canCreateFromObjectWith() returns true). |
SettableBeanProperty |
BeanDeserializerBuilder.removeProperty(java.lang.String name) |
abstract SettableBeanProperty |
SettableBeanProperty.withName(java.lang.String newName)
Fluent factory method for constructing and returning a new instance
with specified property name.
|
abstract SettableBeanProperty |
SettableBeanProperty.withValueDeserializer(JsonDeserializer<?> deser)
Fluent factory method for constructing and returning a new instance
with specified value deserializer.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<SettableBeanProperty> |
BeanDeserializerBase.creatorProperties()
Accessor for finding properties that represents values to pass
through property-based creator method (constructor or
factory method)
|
java.util.Iterator<SettableBeanProperty> |
BeanDeserializerBuilder.getProperties()
Method that allows accessing all properties that this
builder currently contains.
|
java.util.Iterator<SettableBeanProperty> |
BeanDeserializerBase.properties()
Accessor for iterating over properties this deserializer uses; with
the exception that properties passed via Creator methods
(specifically, "property-based constructor") are not included,
but can be accessed separate by calling
BeanDeserializerBase.creatorProperties() |
Modifier and Type | Method and Description |
---|---|
protected SettableBeanProperty |
BeanDeserializerBase._resolveInnerClassValuedProperty(DeserializationContext ctxt,
SettableBeanProperty prop)
Helper method that will handle gruesome details of dealing with properties
that have non-static inner class as value...
|
protected SettableBeanProperty |
BeanDeserializerBase._resolveManagedReferenceProperty(DeserializationContext ctxt,
SettableBeanProperty prop)
Helper method called to see if given property is part of 'managed' property
pair (managed + back reference), and if so, handle resolution details.
|
protected SettableBeanProperty |
BeanDeserializerBase._resolveUnwrappedProperty(DeserializationContext ctxt,
SettableBeanProperty prop)
Helper method called to see if given property might be so-called unwrapped
property: these require special handling.
|
void |
BeanDeserializerBuilder.addBackReferenceProperty(java.lang.String referenceName,
SettableBeanProperty prop)
Method called to add a property that represents so-called back reference;
reference that "points back" to object that has forward reference to
currently built bean.
|
void |
BeanDeserializerBuilder.addCreatorProperty(SettableBeanProperty prop)
Method called by deserializer factory, when a "creator property"
(something that is passed via constructor- or factory method argument;
instead of setter or field).
|
void |
BeanDeserializerBuilder.addOrReplaceProperty(SettableBeanProperty prop,
boolean allowOverride)
Method for adding a new property or replacing a property.
|
void |
BeanDeserializerBuilder.addProperty(SettableBeanProperty prop)
Method to add a property setter.
|
protected JsonDeserializer<java.lang.Object> |
BeanDeserializerBase.findConvertingDeserializer(DeserializationContext ctxt,
SettableBeanProperty prop)
Helper method that can be used to see if specified property is annotated
to indicate use of a converter for property value (in case of container types,
it is container type itself, not key or content type).
|
void |
BeanDeserializerBase.replaceProperty(SettableBeanProperty original,
SettableBeanProperty replacement)
Method that can be used to replace an existing property with
a modified one.
|
Constructor and Description |
---|
SettableBeanProperty(SettableBeanProperty src)
Basic copy-constructor for sub-classes to use.
|
SettableBeanProperty(SettableBeanProperty src,
JsonDeserializer<?> deser)
Copy-with-deserializer-change constructor for sub-classes to use.
|
SettableBeanProperty(SettableBeanProperty src,
java.lang.String newName)
Copy-with-deserializer-change constructor for sub-classes to use.
|
Constructor and Description |
---|
AbstractDeserializer(BeanDeserializerBuilder builder,
BeanDescription beanDesc,
java.util.Map<java.lang.String,SettableBeanProperty> backRefProps) |
BeanDeserializer(BeanDeserializerBuilder builder,
BeanDescription beanDesc,
BeanPropertyMap properties,
java.util.Map<java.lang.String,SettableBeanProperty> backRefs,
java.util.HashSet<java.lang.String> ignorableProps,
boolean ignoreAllUnknown,
boolean hasViews)
Constructor used by
BeanDeserializerBuilder . |
BeanDeserializerBase(BeanDeserializerBuilder builder,
BeanDescription beanDesc,
BeanPropertyMap properties,
java.util.Map<java.lang.String,SettableBeanProperty> backRefs,
java.util.HashSet<java.lang.String> ignorableProps,
boolean ignoreAllUnknown,
boolean hasViews)
Constructor used when initially building a deserializer
instance, given a
BeanDeserializerBuilder that
contains configuration. |
BuilderBasedDeserializer(BeanDeserializerBuilder builder,
BeanDescription beanDesc,
BeanPropertyMap properties,
java.util.Map<java.lang.String,SettableBeanProperty> backRefs,
java.util.HashSet<java.lang.String> ignorableProps,
boolean ignoreAllUnknown,
boolean hasViews)
Constructor used by
BeanDeserializerBuilder . |
Modifier and Type | Class and Description |
---|---|
class |
FieldProperty
This concrete sub-class implements property that is set
directly assigning to a Field.
|
class |
InnerClassProperty
This sub-class is used to handle special case of value being a
non-static inner class.
|
class |
ManagedReferenceProperty
Wrapper property that is used to handle managed (forward) properties
(see [JACKSON-235] for more information).
|
class |
MethodProperty
This concrete sub-class implements property that is set
using regular "setter" method.
|
class |
ObjectIdValueProperty
Specialized
SettableBeanProperty implementation used
for virtual property that represents Object Id that is used
for some POJO types (or properties). |
class |
SetterlessProperty
This concrete sub-class implements Collection or Map property that is
indirectly by getting the property value and directly modifying it.
|
Modifier and Type | Field and Description |
---|---|
protected SettableBeanProperty |
ManagedReferenceProperty._backProperty |
protected SettableBeanProperty |
InnerClassProperty._delegate
Actual property that we use after value construction.
|
protected SettableBeanProperty |
ManagedReferenceProperty._managedProperty |
protected SettableBeanProperty[] |
BeanAsArrayBuilderDeserializer._orderedProperties
Properties in order expected to be found in JSON array.
|
protected SettableBeanProperty[] |
BeanAsArrayDeserializer._orderedProperties
Properties in order expected to be found in JSON array.
|
protected SettableBeanProperty[] |
PropertyBasedCreator._propertiesWithInjectables
Array that contains properties that expect value to inject, if any;
null if no injectable values are expected.
|
SettableBeanProperty |
ObjectIdReader.idProperty |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<SettableBeanProperty> |
UnwrappedPropertyHandler._properties |
protected java.util.HashMap<java.lang.String,SettableBeanProperty> |
PropertyBasedCreator._properties
Map that contains property objects for either constructor or factory
method (whichever one is null: one property for each
parameter for that one), keyed by logical property name
|
Modifier and Type | Method and Description |
---|---|
SettableBeanProperty |
BeanPropertyMap.find(java.lang.String key) |
SettableBeanProperty |
PropertyBasedCreator.findCreatorProperty(java.lang.String name) |
SettableBeanProperty[] |
BeanPropertyMap.getPropertiesInInsertionOrder()
Method that will re-create initial insertion-ordering of
properties contained in this map.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<SettableBeanProperty> |
BeanPropertyMap.iterator()
Accessor for traversing over all contained properties.
|
java.util.Collection<SettableBeanProperty> |
PropertyBasedCreator.properties() |
Modifier and Type | Method and Description |
---|---|
void |
ExternalTypeHandler.Builder.addExternal(SettableBeanProperty property,
TypeDeserializer typeDeser) |
void |
UnwrappedPropertyHandler.addProperty(SettableBeanProperty property) |
void |
PropertyBasedCreator.assignDeserializer(SettableBeanProperty prop,
JsonDeserializer<java.lang.Object> deser) |
void |
PropertyValueBuffer.bufferProperty(SettableBeanProperty prop,
java.lang.Object value) |
static PropertyBasedCreator |
PropertyBasedCreator.construct(DeserializationContext ctxt,
ValueInstantiator valueInstantiator,
SettableBeanProperty[] srcProps)
Factory method used for building actual instances: resolves deserializers
and checks for "null values".
|
static ObjectIdReader |
ObjectIdReader.construct(JavaType idType,
java.lang.String propName,
com.fasterxml.jackson.annotation.ObjectIdGenerator<?> generator,
JsonDeserializer<?> deser,
SettableBeanProperty idProp)
Factory method called by
BeanSerializerBase
with the initial information based on standard settings for the type
for which serializer is being built. |
void |
PropertyValueBuffer.inject(SettableBeanProperty[] injectableProperties) |
void |
BeanPropertyMap.remove(SettableBeanProperty property)
Specialized method for removing specified existing entry.
|
void |
BeanPropertyMap.replace(SettableBeanProperty property)
Specialized method that can be used to replace an existing entry
(note: entry MUST exist; otherwise exception is thrown) with
specified replacement.
|
BeanPropertyMap |
BeanPropertyMap.withProperty(SettableBeanProperty newProperty)
Fluent copy method that creates a new instance that is a copy
of this instance except for one additional property that is
passed as the argument.
|
Constructor and Description |
---|
BeanAsArrayBuilderDeserializer(BeanDeserializerBase delegate,
SettableBeanProperty[] ordered,
AnnotatedMethod buildMethod)
Main constructor used both for creating new instances (by
BeanDeserializer.asArrayDeserializer() ) and for
creating copies with different delegate. |
BeanAsArrayDeserializer(BeanDeserializerBase delegate,
SettableBeanProperty[] ordered)
Main constructor used both for creating new instances (by
BeanDeserializer.asArrayDeserializer() ) and for
creating copies with different delegate. |
InnerClassProperty(SettableBeanProperty delegate,
java.lang.reflect.Constructor<?> ctor) |
ManagedReferenceProperty(SettableBeanProperty forward,
java.lang.String refName,
SettableBeanProperty backward,
Annotations contextAnnotations,
boolean isContainer) |
ObjectIdReader(JavaType t,
java.lang.String propName,
com.fasterxml.jackson.annotation.ObjectIdGenerator<?> gen,
JsonDeserializer<?> deser,
SettableBeanProperty idProp) |
PropertyBasedCreator(ValueInstantiator valueInstantiator,
SettableBeanProperty[] creatorProps,
java.lang.Object[] defaultValues) |
Constructor and Description |
---|
BeanPropertyMap(java.util.Collection<SettableBeanProperty> properties) |
UnwrappedPropertyHandler(java.util.List<SettableBeanProperty> props) |
Modifier and Type | Method and Description |
---|---|
SettableBeanProperty[] |
StdValueInstantiator.getFromObjectArguments(DeserializationConfig config) |
Copyright © 2013. All Rights Reserved.