Uses of Class
com.fasterxml.jackson.databind.deser.SettableBeanProperty
-
Packages that use SettableBeanProperty Package Description com.fasterxml.jackson.databind Basic data binding (mapping) functionality that allows for reading JSON content into Java Objects (POJOs) and JSON Trees (JsonNode), as well as writing Java Objects and trees as JSON.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. -
-
Uses of SettableBeanProperty in com.fasterxml.jackson.databind
Methods in com.fasterxml.jackson.databind that return SettableBeanProperty Modifier and Type Method Description SettableBeanPropertyJsonDeserializer. findBackReference(String refName)Method needed byBeanDeserializerFactoryto properly link managed- and back-reference pairs. -
Uses of SettableBeanProperty in com.fasterxml.jackson.databind.deser
Subclasses of SettableBeanProperty in com.fasterxml.jackson.databind.deser Modifier and Type Class Description classCreatorPropertyThis concrete sub-class implements property that is passed via Creator (constructor or static factory method).static classSettableBeanProperty.DelegatingHelper class that is designed to both make it easier to sub-class delegating subtypes and to reduce likelihood of breakage when new methods are added.Fields in com.fasterxml.jackson.databind.deser declared as SettableBeanProperty Modifier and Type Field Description protected SettableBeanPropertyCreatorProperty. _fallbackSetterIn special cases, when implementing "updateValue", we cannot use constructors or factory methods, but have to fall back on using a setter (or mutable field property).protected SettableBeanPropertySettableBeanProperty.Delegating. delegateFields in com.fasterxml.jackson.databind.deser with type parameters of type SettableBeanProperty Modifier and Type Field Description protected Map<String,SettableBeanProperty>AbstractDeserializer. _backRefPropertiesprotected HashMap<String,SettableBeanProperty>BeanDeserializerBuilder. _backRefPropertiesBack-reference properties this bean contains (if any)protected Map<String,SettableBeanProperty>BeanDeserializerBase. _backRefsWe may also have one or more back reference fields (usually zero or one).protected Map<String,SettableBeanProperty>AbstractDeserializer. _propertiesprotected Map<String,SettableBeanProperty>BeanDeserializerBuilder. _propertiesProperties to deserialize collected so far.Methods in com.fasterxml.jackson.databind.deser that return SettableBeanProperty Modifier and Type Method Description protected SettableBeanPropertyBeanDeserializerBase. _resolvedObjectIdProperty(DeserializationContext ctxt, SettableBeanProperty prop)Method that wraps given property withObjectIdReferencePropertyin case where object id resolution is required.protected SettableBeanPropertyBeanDeserializerBase. _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 SettableBeanPropertyBeanDeserializerBase. _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 SettableBeanPropertyBeanDeserializerBase. _resolveMergeAndNullSettings(DeserializationContext ctxt, SettableBeanProperty prop, PropertyMetadata propMetadata)protected SettableBeanPropertySettableBeanProperty.Delegating. _with(SettableBeanProperty newDelegate)protected SettableBeanPropertyBasicDeserializerFactory. constructCreatorProperty(DeserializationContext ctxt, BeanDescription beanDesc, PropertyName name, int index, AnnotatedParameter param, com.fasterxml.jackson.annotation.JacksonInject.Value injectable)Method that will construct a property object that represents a logical property passed via Creator (constructor or static factory method)protected SettableBeanPropertyBeanDeserializerFactory. constructSettableProperty(DeserializationContext ctxt, BeanDescription beanDesc, BeanPropertyDefinition propDef, JavaType propType0)Method that will construct a regular bean property setter using the given setter method.protected SettableBeanPropertyBeanDeserializerFactory. constructSetterlessProperty(DeserializationContext ctxt, BeanDescription beanDesc, BeanPropertyDefinition propDef)Method that will construct a regular bean property setter using the given setter method.SettableBeanPropertyAbstractDeserializer. findBackReference(String logicalName)Method called byBeanDeserializerto resolve back reference part of managed references.SettableBeanPropertyBeanDeserializerBase. findBackReference(String logicalName)Method needed byBeanDeserializerFactoryto properly link managed- and back-reference pairs.SettableBeanPropertyBeanDeserializerBase. findProperty(int propertyIndex)Alternate find method that tries to locate a property with givenproperty index.SettableBeanPropertyBeanDeserializerBase. findProperty(PropertyName propertyName)SettableBeanPropertyBeanDeserializerBase. findProperty(String propertyName)Accessor for finding the property with given name, if POJO has one.SettableBeanPropertyBeanDeserializerBuilder. findProperty(PropertyName propertyName)SettableBeanPropertySettableBeanProperty.Delegating. getDelegate()SettableBeanProperty[]ValueInstantiator. getFromObjectArguments(DeserializationConfig config)Method called to determine types of instantiation arguments to use when creating instances with creator arguments (whenValueInstantiator.canCreateFromObjectWith()returns true).SettableBeanPropertyBeanDeserializerBuilder. removeProperty(PropertyName name)protected abstract SettableBeanPropertySettableBeanProperty.Delegating. withDelegate(SettableBeanProperty d)Method sub-classes must implement, to construct a new instance with given delegate.SettableBeanPropertyCreatorProperty. withName(PropertyName newName)SettableBeanPropertySettableBeanProperty.Delegating. withName(PropertyName newName)abstract SettableBeanPropertySettableBeanProperty. withName(PropertyName newName)Fluent factory method for constructing and returning a new instance with specified property name.SettableBeanPropertyCreatorProperty. withNullProvider(NullValueProvider nva)SettableBeanPropertySettableBeanProperty.Delegating. withNullProvider(NullValueProvider nva)abstract SettableBeanPropertySettableBeanProperty. withNullProvider(NullValueProvider nva)SettableBeanPropertySettableBeanProperty. withSimpleName(String simpleName)SettableBeanPropertyCreatorProperty. withValueDeserializer(JsonDeserializer<?> deser)SettableBeanPropertySettableBeanProperty.Delegating. withValueDeserializer(JsonDeserializer<?> deser)abstract SettableBeanPropertySettableBeanProperty. withValueDeserializer(JsonDeserializer<?> deser)Fluent factory method for constructing and returning a new instance with specified value deserializer.Methods in com.fasterxml.jackson.databind.deser that return types with arguments of type SettableBeanProperty Modifier and Type Method Description Iterator<SettableBeanProperty>BeanDeserializerBase. creatorProperties()Accessor for finding properties that represents values to pass through property-based creator method (constructor or factory method)Iterator<SettableBeanProperty>BeanDeserializerBuilder. getProperties()Method that allows accessing all properties that this builder currently contains.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 callingBeanDeserializerBase.creatorProperties()Methods in com.fasterxml.jackson.databind.deser with parameters of type SettableBeanProperty Modifier and Type Method Description protected ObjectBeanDeserializer. _deserializeWithErrorWrapping(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, SettableBeanProperty prop)protected NameTransformerBeanDeserializerBase. _findPropertyUnwrapper(DeserializationContext ctxt, SettableBeanProperty prop)Helper method called to see if given property might be so-called unwrapped property: these require special handling.protected voidBeanDeserializerBase. _replaceProperty(BeanPropertyMap props, SettableBeanProperty[] creatorProps, SettableBeanProperty origProp, SettableBeanProperty newProp)protected SettableBeanPropertyBeanDeserializerBase. _resolvedObjectIdProperty(DeserializationContext ctxt, SettableBeanProperty prop)Method that wraps given property withObjectIdReferencePropertyin case where object id resolution is required.protected SettableBeanPropertyBeanDeserializerBase. _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 SettableBeanPropertyBeanDeserializerBase. _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 SettableBeanPropertyBeanDeserializerBase. _resolveMergeAndNullSettings(DeserializationContext ctxt, SettableBeanProperty prop, PropertyMetadata propMetadata)protected SettableBeanPropertySettableBeanProperty.Delegating. _with(SettableBeanProperty newDelegate)voidBeanDeserializerBuilder. 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.voidBeanDeserializerBuilder. 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).voidBeanDeserializerBuilder. addOrReplaceProperty(SettableBeanProperty prop, boolean allowOverride)Method for adding a new property or replacing a property.voidBeanDeserializerBuilder. addProperty(SettableBeanProperty prop)Method to add a property setter.ObjectValueInstantiator. createFromObjectWith(DeserializationContext ctxt, SettableBeanProperty[] props, PropertyValueBuffer buffer)Method that delegates toValueInstantiator.createFromObjectWith(DeserializationContext, Object[])by default, but can be overridden if the application should have customized behavior with respect to missing properties.protected JsonDeserializer<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).voidBeanDeserializerBase. replaceProperty(SettableBeanProperty original, SettableBeanProperty replacement)Method that can be used to replace an existing property with a modified one.voidCreatorProperty. setFallbackSetter(SettableBeanProperty fallbackSetter)NOTE: one exception to immutability, due to problems with CreatorProperty instances being shared between Bean, separate PropertyBasedCreatorprotected abstract SettableBeanPropertySettableBeanProperty.Delegating. withDelegate(SettableBeanProperty d)Method sub-classes must implement, to construct a new instance with given delegate.Method parameters in com.fasterxml.jackson.databind.deser with type arguments of type SettableBeanProperty Modifier and Type Method Description protected Map<String,List<PropertyName>>BeanDeserializerBuilder. _collectAliases(Collection<SettableBeanProperty> props)protected voidBeanDeserializerBuilder. _fixAccess(Collection<SettableBeanProperty> mainProps)Constructors in com.fasterxml.jackson.databind.deser with parameters of type SettableBeanProperty Constructor Description Delegating(SettableBeanProperty d)SettableBeanProperty(SettableBeanProperty src)Basic copy-constructor for sub-classes to use.SettableBeanProperty(SettableBeanProperty src, JsonDeserializer<?> deser, NullValueProvider nuller)Copy-with-deserializer-change constructor for sub-classes to use.SettableBeanProperty(SettableBeanProperty src, PropertyName newName)Copy-with-deserializer-change constructor for sub-classes to use. -
Uses of SettableBeanProperty in com.fasterxml.jackson.databind.deser.impl
Subclasses of SettableBeanProperty in com.fasterxml.jackson.databind.deser.impl Modifier and Type Class Description classFieldPropertyThis concrete sub-class implements property that is set directly assigning to a Field.classInnerClassPropertyThis sub-class is used to handle special case of value being a non-static inner class.classManagedReferencePropertyWrapper property that is used to handle managed (forward) properties Basically just needs to delegate first to actual forward property, and then to back property.classMergingSettableBeanPropertySettableBeanPropertyimplementation that will try to access value of the property first, and if non-null value found, pass that for update (usingJsonDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.DeserializationContext, Object)) instead of constructing a new value.classMethodPropertyThis concrete sub-class implements property that is set using regular "setter" method.classObjectIdReferencePropertyclassObjectIdValuePropertySpecializedSettableBeanPropertyimplementation used for virtual property that represents Object Id that is used for some POJO types (or properties).classSetterlessPropertyThis concrete sub-class implements Collection or Map property that is indirectly by getting the property value and directly modifying it.Fields in com.fasterxml.jackson.databind.deser.impl declared as SettableBeanProperty Modifier and Type Field Description protected SettableBeanProperty[]PropertyBasedCreator. _allPropertiesArray that contains properties that expect value to inject, if any; null if no injectable values are expected.protected SettableBeanProperty[]CreatorCollector. _arrayDelegateArgsprotected SettableBeanPropertyManagedReferenceProperty. _backPropertyprotected SettableBeanProperty[]CreatorCollector. _delegateArgsprotected SettableBeanProperty[]BeanAsArrayBuilderDeserializer. _orderedPropertiesProperties in order expected to be found in JSON array.protected SettableBeanProperty[]BeanAsArrayDeserializer. _orderedPropertiesProperties in order expected to be found in JSON array.protected SettableBeanProperty[]CreatorCollector. _propertyBasedArgsSettableBeanPropertyObjectIdReader. idPropertyFields in com.fasterxml.jackson.databind.deser.impl with type parameters of type SettableBeanProperty Modifier and Type Field Description protected List<SettableBeanProperty>UnwrappedPropertyHandler. _propertiesprotected HashMap<String,SettableBeanProperty>PropertyBasedCreator. _propertyLookupMap 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 nameMethods in com.fasterxml.jackson.databind.deser.impl that return types with arguments of type SettableBeanProperty Modifier and Type Method Description Iterator<SettableBeanProperty>BeanPropertyMap. iterator()Accessor for traversing over all contained properties.Collection<SettableBeanProperty>PropertyBasedCreator. properties()Methods in com.fasterxml.jackson.databind.deser.impl with parameters of type SettableBeanProperty Modifier and Type Method Description protected ObjectPropertyValueBuffer. _findMissing(SettableBeanProperty prop)protected SettableBeanPropertyBeanPropertyMap. _rename(SettableBeanProperty prop, NameTransformer xf)voidCreatorCollector. addDelegatingCreator(AnnotatedWithParams creator, boolean explicit, SettableBeanProperty[] injectables, int delegateeIndex)voidExternalTypeHandler.Builder. addExternal(SettableBeanProperty property, TypeDeserializer typeDeser)voidUnwrappedPropertyHandler. addProperty(SettableBeanProperty property)voidCreatorCollector. addPropertyCreator(AnnotatedWithParams creator, boolean explicit, SettableBeanProperty[] properties)booleanPropertyValueBuffer. assignParameter(SettableBeanProperty prop, Object value)Method called to buffer value for given property, as well as check whether we now have values for all (creator) properties that we expect to get values for.voidPropertyValueBuffer. bufferProperty(SettableBeanProperty prop, Object value)static MergingSettableBeanPropertyMergingSettableBeanProperty. construct(SettableBeanProperty delegate, AnnotatedMember accessor)static ObjectIdReaderObjectIdReader. construct(JavaType idType, PropertyName propName, com.fasterxml.jackson.annotation.ObjectIdGenerator<?> generator, JsonDeserializer<?> deser, SettableBeanProperty idProp, com.fasterxml.jackson.annotation.ObjectIdResolver resolver)Factory method called byBeanSerializerBasewith the initial information based on standard settings for the type for which serializer is being built.static PropertyBasedCreatorPropertyBasedCreator. construct(DeserializationContext ctxt, ValueInstantiator valueInstantiator, SettableBeanProperty[] srcCreatorProps)Deprecated.static PropertyBasedCreatorPropertyBasedCreator. construct(DeserializationContext ctxt, ValueInstantiator valueInstantiator, SettableBeanProperty[] srcCreatorProps, boolean caseInsensitive)Factory method used for building actual instances to be used with types OTHER than POJOs.static PropertyBasedCreatorPropertyBasedCreator. 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".ObjectPropertyValueBuffer. getParameter(SettableBeanProperty prop)A variation ofPropertyValueBuffer.getParameters(SettableBeanProperty[])that accepts a single property.Object[]PropertyValueBuffer. getParameters(SettableBeanProperty[] props)Method called to do necessary post-processing such as injection of values and verification of values for required properties, after eitherPropertyValueBuffer.assignParameter(SettableBeanProperty, Object)returnstrue(to indicate all creator properties are found), or when then whole JSON Object has been processed,protected StringBeanPropertyMap. getPropertyName(SettableBeanProperty prop)booleanPropertyValueBuffer. hasParameter(SettableBeanProperty prop)Returnstrueif the given property was seen in the JSON source by this buffer.voidBeanPropertyMap. remove(SettableBeanProperty propToRm)Specialized method for removing specified existing entry.voidBeanPropertyMap. replace(SettableBeanProperty newProp)Deprecated.voidBeanPropertyMap. replace(SettableBeanProperty origProp, SettableBeanProperty newProp)Specialized method that can be used to replace an existing entry (note: entry MUST exist; otherwise exception is thrown) with specified replacement.protected SettableBeanPropertyInnerClassProperty. withDelegate(SettableBeanProperty d)protected SettableBeanPropertyManagedReferenceProperty. withDelegate(SettableBeanProperty d)protected SettableBeanPropertyMergingSettableBeanProperty. withDelegate(SettableBeanProperty d)BeanPropertyMapBeanPropertyMap. withProperty(SettableBeanProperty newProp)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.Method parameters in com.fasterxml.jackson.databind.deser.impl with type arguments of type SettableBeanProperty Modifier and Type Method Description static BeanPropertyMapBeanPropertyMap. construct(Collection<SettableBeanProperty> props, boolean caseInsensitive)Deprecated.static BeanPropertyMapBeanPropertyMap. construct(Collection<SettableBeanProperty> props, boolean caseInsensitive, Map<String,List<PropertyName>> aliasMapping)protected voidBeanPropertyMap. init(Collection<SettableBeanProperty> props)Constructors in com.fasterxml.jackson.databind.deser.impl with parameters of type SettableBeanProperty Constructor Description BeanAsArrayBuilderDeserializer(BeanDeserializerBase delegate, JavaType targetType, SettableBeanProperty[] ordered, AnnotatedMethod buildMethod)Main constructor used both for creating new instances (byBeanDeserializer.asArrayDeserializer()) and for creating copies with different delegate.BeanAsArrayDeserializer(BeanDeserializerBase delegate, SettableBeanProperty[] ordered)Main constructor used both for creating new instances (byBeanDeserializer.asArrayDeserializer()) and for creating copies with different delegate.InnerClassProperty(SettableBeanProperty src, AnnotatedConstructor ann)Constructor used with JDK Serialization; needed to handle transient Constructor, wrap/unwrap in/out-of Annotated variant.InnerClassProperty(SettableBeanProperty delegate, Constructor<?> ctor)ManagedReferenceProperty(SettableBeanProperty forward, String refName, SettableBeanProperty backward, boolean isContainer)MergingSettableBeanProperty(MergingSettableBeanProperty src, SettableBeanProperty delegate)MergingSettableBeanProperty(SettableBeanProperty delegate, AnnotatedMember accessor)ObjectIdReader(JavaType t, PropertyName propName, com.fasterxml.jackson.annotation.ObjectIdGenerator<?> gen, JsonDeserializer<?> deser, SettableBeanProperty idProp, com.fasterxml.jackson.annotation.ObjectIdResolver resolver)ObjectIdReferenceProperty(SettableBeanProperty forward, ObjectIdInfo objectIdInfo)PropertyBasedCreator(DeserializationContext ctxt, ValueInstantiator valueInstantiator, SettableBeanProperty[] creatorProps, boolean caseInsensitive, boolean addAliases)Constructor parameters in com.fasterxml.jackson.databind.deser.impl with type arguments of type SettableBeanProperty Constructor Description BeanPropertyMap(boolean caseInsensitive, Collection<SettableBeanProperty> props)Deprecated.BeanPropertyMap(boolean caseInsensitive, Collection<SettableBeanProperty> props, Map<String,List<PropertyName>> aliasDefs)UnwrappedPropertyHandler(List<SettableBeanProperty> props) -
Uses of SettableBeanProperty in com.fasterxml.jackson.databind.deser.std
Fields in com.fasterxml.jackson.databind.deser.std declared as SettableBeanProperty Modifier and Type Field Description protected SettableBeanProperty[]StdValueInstantiator. _arrayDelegateArgumentsprotected SettableBeanProperty[]StdValueInstantiator. _constructorArgumentsprotected SettableBeanProperty[]StdValueInstantiator. _delegateArgumentsMethods in com.fasterxml.jackson.databind.deser.std that return SettableBeanProperty Modifier and Type Method Description SettableBeanPropertyContainerDeserializerBase. findBackReference(String refName)SettableBeanPropertyDelegatingDeserializer. findBackReference(String logicalName)SettableBeanProperty[]JsonLocationInstantiator. getFromObjectArguments(DeserializationConfig config)SettableBeanProperty[]StdValueInstantiator. getFromObjectArguments(DeserializationConfig config)Methods in com.fasterxml.jackson.databind.deser.std with parameters of type SettableBeanProperty Modifier and Type Method Description voidStdValueInstantiator. configureFromArraySettings(AnnotatedWithParams arrayDelegateCreator, JavaType arrayDelegateType, SettableBeanProperty[] arrayDelegateArgs)voidStdValueInstantiator. configureFromObjectSettings(AnnotatedWithParams defaultCreator, AnnotatedWithParams delegateCreator, JavaType delegateType, SettableBeanProperty[] delegateArgs, AnnotatedWithParams withArgsCreator, SettableBeanProperty[] constructorArgs)Method for setting properties related to instantiating values from JSON Object.static JsonDeserializer<?>EnumDeserializer. deserializerForCreator(DeserializationConfig config, Class<?> enumClass, AnnotatedMethod factory, ValueInstantiator valueInstantiator, SettableBeanProperty[] creatorProps)Factory method used when Enum instances are to be deserialized using a creator (static factory method)protected NullValueProviderStdDeserializer. findValueNullProvider(DeserializationContext ctxt, SettableBeanProperty prop, PropertyMetadata propMetadata)Method called to findNullValueProviderfor a primary property, using "value nulls" setting.
-