| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | PropertyBasedCreator.CaseInsensitiveMap
Simple override of standard |
| Modifier and Type | Field and Description |
|---|---|
| protected final SettableBeanProperty[] | _allProperties
Array that contains properties that expect value to inject, if any; null if no injectable values are expected. |
| protected final int | _propertyCount
Number of properties: usually same as size of |
| protected final HashMap | _propertyLookup
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 |
| protected final ValueInstantiator | _valueInstantiator
Helper object that knows how to actually construct the instance by invoking creator method with buffered arguments. |
| Access | Constructor and Description |
|---|---|
| protected | PropertyBasedCreator(DeserializationContext ctxt, ValueInstantiator valueInstantiator, SettableBeanProperty[] creatorProps, boolean caseInsensitive, boolean addAliases)
|
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public static PropertyBasedCreator | construct(DeserializationContext ctxt, ValueInstantiator valueInstantiator, SettableBeanProperty[] srcCreatorProps, BeanPropertyMap allProperties)
Factory method used for building actual instances to be used with POJOS: resolves deserializers, checks for "null values". |
| public static PropertyBasedCreator | construct(DeserializationContext ctxt, ValueInstantiator valueInstantiator, SettableBeanProperty[] srcCreatorProps, boolean caseInsensitive)
Factory method used for building actual instances to be used with types OTHER than POJOs. |
| public static PropertyBasedCreator | construct(DeserializationContext ctxt, ValueInstantiator valueInstantiator, SettableBeanProperty[] srcCreatorProps)
Deprecated
|
| public SettableBeanProperty | |
| public SettableBeanProperty | |
| public Collection | |
| public PropertyValueBuffer | startBuilding(JsonParser p, DeserializationContext ctxt, ObjectIdReader oir)
Method called when starting to build a bean instance. |
| _allProperties | back to summary |
|---|---|
| protected final SettableBeanProperty[] _allProperties Array that contains properties that expect value to inject, if any; null if no injectable values are expected. | |
| _propertyCount | back to summary |
|---|---|
| protected final int _propertyCount Number of properties: usually same as size of | |
| _propertyLookup | back to summary |
|---|---|
| protected final HashMap<String, SettableBeanProperty> _propertyLookup 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 | |
| _valueInstantiator | back to summary |
|---|---|
| protected final ValueInstantiator _valueInstantiator Helper object that knows how to actually construct the instance by invoking creator method with buffered arguments. | |
| PropertyBasedCreator | back to summary |
|---|---|
| protected PropertyBasedCreator(DeserializationContext ctxt, ValueInstantiator valueInstantiator, SettableBeanProperty[] creatorProps, boolean caseInsensitive, boolean addAliases) | |
| build | back to summary |
|---|---|
| public Object build(DeserializationContext ctxt, PropertyValueBuffer buffer) throws IOException | |
| construct | back to summary |
|---|---|
| public static PropertyBasedCreator construct(DeserializationContext ctxt, ValueInstantiator valueInstantiator, SettableBeanProperty[] srcCreatorProps, BeanPropertyMap allProperties) throws JsonMappingException Factory method used for building actual instances to be used with POJOS: resolves deserializers, checks for "null values".
| |
| construct | back to summary |
|---|---|
| public static PropertyBasedCreator construct(DeserializationContext ctxt, ValueInstantiator valueInstantiator, SettableBeanProperty[] srcCreatorProps, boolean caseInsensitive) throws JsonMappingException Factory method used for building actual instances to be used with types OTHER than POJOs. resolves deserializers and checks for "null values".
| |
| construct | back to summary |
|---|---|
| public static PropertyBasedCreator construct(DeserializationContext ctxt, ValueInstantiator valueInstantiator, SettableBeanProperty[] srcCreatorProps) throws JsonMappingException
Deprecated
| |
| findCreatorProperty | back to summary |
|---|---|
| public SettableBeanProperty findCreatorProperty(String name) | |
| findCreatorProperty | back to summary |
|---|---|
| public SettableBeanProperty findCreatorProperty(int propertyIndex) | |
| properties | back to summary |
|---|---|
| public Collection | |
| startBuilding | back to summary |
|---|---|
| public PropertyValueBuffer startBuilding(JsonParser p, DeserializationContext ctxt, ObjectIdReader oir) Method called when starting to build a bean instance.
| |
java.util.HashMap to support
case-insensitive access to creator properties
| Modifier and Type | Field and Description |
|---|---|
| protected final Locale | _locale
Lower-casing can have Locale-specific minor variations. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static PropertyBasedCreator. | |
| public SettableBeanProperty | get(Object
the key whose associated value is to be returned key0)Overrides java. Implements java. null if this map contains no mapping for the key.
|
| public SettableBeanProperty | put(String
key with which the specified value is to be associated key, SettableBeanProperty value to be associated with the specified key value)Overrides java. Implements java. |
| _locale | back to summary |
|---|---|
| protected final Locale _locale Lower-casing can have Locale-specific minor variations.
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| CaseInsensitiveMap | back to summary |
|---|---|
| public CaseInsensitiveMap()
Deprecated
| |
| CaseInsensitiveMap | back to summary |
|---|---|
| public CaseInsensitiveMap(Locale l) | |
| construct | back to summary |
|---|---|
| public static PropertyBasedCreator. | |
| get | back to summary |
|---|---|
| public SettableBeanProperty get(Object key0) Overrides java. Implements java. Doc from java. Returns the value to which the specified key is mapped,
or More formally, if this map contains a mapping from a key
A return value of
| |
| put | back to summary |
|---|---|
| public SettableBeanProperty put(String key, SettableBeanProperty value) Overrides java. Implements java. Doc from java. Associates the specified value with the specified key in this map. If the map previously contained a mapping for the key, the old value is replaced.
| |