Package | Description |
---|---|
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.deser.std |
Contains public standard implementations of abstraction that
Jackson uses.
|
Modifier and Type | Class and Description |
---|---|
static class |
SettableBeanProperty.FieldProperty
This concrete sub-class implements property that is set
directly assigning to a Field.
|
static class |
SettableBeanProperty.InnerClassProperty
This sub-class is used to handle special case of value being a
non-static inner class.
|
static class |
SettableBeanProperty.ManagedReferenceProperty
Wrapper property that is used to handle managed (forward) properties
(see [JACKSON-235] for more information).
|
static class |
SettableBeanProperty.MethodProperty
This concrete sub-class implements property that is set
using regular "setter" method.
|
static class |
SettableBeanProperty.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 |
SettableBeanProperty.ManagedReferenceProperty._backProperty |
protected SettableBeanProperty |
SettableBeanProperty.InnerClassProperty._delegate
Actual property that we use after value construction.
|
protected SettableBeanProperty |
SettableBeanProperty.ManagedReferenceProperty._managedProperty |
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,SettableBeanProperty> |
BeanDeserializerBuilder._backRefProperties
Back-reference properties this bean contains (if any)
|
protected Map<String,SettableBeanProperty> |
BeanDeserializer._backRefs
We may also have one or more back reference fields (usually
zero or one).
|
protected HashMap<String,SettableBeanProperty> |
BeanDeserializerBuilder._properties
Properties to deserialize collected so far.
|
Modifier and Type | Method and Description |
---|---|
protected SettableBeanProperty |
BeanDeserializer._resolveInnerClassValuedProperty(DeserializationConfig config,
SettableBeanProperty prop)
Helper method that will handle gruesome details of dealing with properties
that have non-static inner class as value...
|
protected SettableBeanProperty |
BeanDeserializer._resolveManagedReferenceProperty(DeserializationConfig config,
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 |
BeanDeserializer._resolveUnwrappedProperty(DeserializationConfig config,
SettableBeanProperty prop)
Helper method called to see if given property might be so-called unwrapped
property: these require special handling.
|
protected SettableBeanProperty |
BeanDeserializerFactory.constructSettableProperty(DeserializationConfig config,
BasicBeanDescription beanDesc,
String name,
AnnotatedField field) |
protected SettableBeanProperty |
BeanDeserializerFactory.constructSettableProperty(DeserializationConfig config,
BasicBeanDescription beanDesc,
String name,
AnnotatedMethod setter)
Method that will construct a regular bean property setter using
the given setter method.
|
protected SettableBeanProperty |
BeanDeserializerFactory.constructSetterlessProperty(DeserializationConfig config,
BasicBeanDescription beanDesc,
String name,
AnnotatedMethod getter)
Method that will construct a regular bean property setter using
the given setter method.
|
SettableBeanProperty |
BeanDeserializer.findBackReference(String logicalName)
Method needed by
BeanDeserializerFactory to properly link
managed- and back-reference pairs. |
SettableBeanProperty[] |
ValueInstantiator.getFromObjectArguments()
Method called to determine types of instantiation arguments
to use when creating instances with creator arguments
(when
ValueInstantiator.canCreateFromObjectWith() returns true). |
SettableBeanProperty |
BeanDeserializerBuilder.removeProperty(String name) |
abstract SettableBeanProperty |
SettableBeanProperty.withValueDeserializer(JsonDeserializer<Object> deser) |
Modifier and Type | Method and Description |
---|---|
Iterator<SettableBeanProperty> |
BeanDeserializerBuilder.getProperties()
Method that allows accessing all properties that this
builder currently contains.
|
Iterator<SettableBeanProperty> |
BeanDeserializer.properties() |
Modifier and Type | Method and Description |
---|---|
protected SettableBeanProperty |
BeanDeserializer._resolveInnerClassValuedProperty(DeserializationConfig config,
SettableBeanProperty prop)
Helper method that will handle gruesome details of dealing with properties
that have non-static inner class as value...
|
protected SettableBeanProperty |
BeanDeserializer._resolveManagedReferenceProperty(DeserializationConfig config,
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 |
BeanDeserializer._resolveUnwrappedProperty(DeserializationConfig config,
SettableBeanProperty prop)
Helper method called to see if given property might be so-called unwrapped
property: these require special handling.
|
void |
BeanDeserializerBuilder.addBackReferenceProperty(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.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.
|
Constructor and Description |
---|
SettableBeanProperty.InnerClassProperty(SettableBeanProperty delegate,
Constructor<?> ctor) |
SettableBeanProperty.ManagedReferenceProperty(String refName,
SettableBeanProperty forward,
SettableBeanProperty backward,
Annotations contextAnnotations,
boolean isContainer) |
SettableBeanProperty(SettableBeanProperty src)
Basic copy-constructor for sub-classes to use.
|
SettableBeanProperty(SettableBeanProperty src,
JsonDeserializer<Object> deser)
Copy-with-deserializer-change constructor for sub-classes to use.
|
Constructor and Description |
---|
BeanDeserializer(AnnotatedClass forClass,
JavaType type,
BeanProperty property,
CreatorCollector creators,
BeanPropertyMap properties,
Map<String,SettableBeanProperty> backRefs,
HashSet<String> ignorableProps,
boolean ignoreAllUnknown,
SettableAnyProperty anySetter)
Deprecated.
(since 1.9) Use the constructor that takes
ValueInstantiator instead |
BeanDeserializer(AnnotatedClass forClass,
JavaType type,
BeanProperty property,
ValueInstantiator valueInstantiator,
BeanPropertyMap properties,
Map<String,SettableBeanProperty> backRefs,
HashSet<String> ignorableProps,
boolean ignoreAllUnknown,
SettableAnyProperty anySetter,
List<ValueInjector> injectables) |
BeanDeserializer(BeanDescription beanDesc,
BeanProperty property,
ValueInstantiator valueInstantiator,
BeanPropertyMap properties,
Map<String,SettableBeanProperty> backRefs,
HashSet<String> ignorableProps,
boolean ignoreAllUnknown,
SettableAnyProperty anySetter,
List<ValueInjector> injectables) |
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 SettableBeanProperty[] |
PropertyBasedCreator._propertiesWithInjectables
Array that contains properties that expect value to inject, if any;
null if no injectable values are expected.
|
Modifier and Type | Field and Description |
---|---|
protected ArrayList<SettableBeanProperty> |
UnwrappedPropertyHandler._properties |
protected HashMap<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(String key) |
SettableBeanProperty |
PropertyBasedCreator.findCreatorProperty(String name) |
Modifier and Type | Method and Description |
---|---|
Iterator<SettableBeanProperty> |
BeanPropertyMap.allProperties()
Accessor for traversing over all contained properties.
|
Collection<SettableBeanProperty> |
PropertyBasedCreator.getCreatorProperties() |
Modifier and Type | Method and Description |
---|---|
void |
ExternalTypeHandler.Builder.addExternal(SettableBeanProperty property,
String extPropName) |
void |
UnwrappedPropertyHandler.addProperty(SettableBeanProperty property) |
void |
PropertyBasedCreator.assignDeserializer(SettableBeanProperty prop,
JsonDeserializer<Object> deser) |
void |
PropertyValueBuffer.bufferProperty(SettableBeanProperty prop,
Object value) |
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.
|
Constructor and Description |
---|
BeanPropertyMap(Collection<SettableBeanProperty> properties) |
Modifier and Type | Method and Description |
---|---|
SettableBeanProperty[] |
StdValueInstantiator.getFromObjectArguments() |