Class PropertyValue
- java.lang.Object
-
- com.fasterxml.jackson.databind.deser.impl.PropertyValue
-
- Direct Known Subclasses:
PropertyValue.Any,PropertyValue.AnyParameter,PropertyValue.Map,PropertyValue.Merging,PropertyValue.Regular
public abstract class PropertyValue extends java.lang.ObjectBase class for property values that need to be buffered during deserialization.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classPropertyValue.AnyProperty value type used when storing entries to be added to a POJO using "any setter" (method that takes name and value arguments, allowing setting multiple different properties using single method).(package private) static classPropertyValue.AnyParameterProperty value type used when storing entries to be passed to constructor of POJO using "any-setter".(package private) static classPropertyValue.MapProperty value type used when storing entries to be added to a Map.(package private) static classPropertyValue.MergingProperty value type used when merging values.(package private) static classPropertyValue.RegularProperty value that used when assigning value to property using a setter method or direct field access.
-
Field Summary
Fields Modifier and Type Field Description PropertyValuenextjava.lang.ObjectvalueValue to assign when POJO has been instantiated.
-
Constructor Summary
Constructors Modifier Constructor Description protectedPropertyValue(PropertyValue next, java.lang.Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidassign(DeserializationContext ctxt, java.lang.Object bean)Method called to assign stored value of this property to specified bean instancevoidassign(java.lang.Object bean)Deprecated.Since 2.20 useassign(DeserializationContext, Object)voidsetValue(java.lang.Object parameterObject)Method called to assign stored value of this property to specified parameter object.
-
-
-
Field Detail
-
next
public final PropertyValue next
-
value
public final java.lang.Object value
Value to assign when POJO has been instantiated.
-
-
Constructor Detail
-
PropertyValue
protected PropertyValue(PropertyValue next, java.lang.Object value)
-
-
Method Detail
-
assign
@Deprecated public final void assign(java.lang.Object bean) throws java.io.IOExceptionDeprecated.Since 2.20 useassign(DeserializationContext, Object)- Throws:
java.io.IOException
-
assign
public void assign(DeserializationContext ctxt, java.lang.Object bean) throws java.io.IOException
Method called to assign stored value of this property to specified bean instance- Throws:
java.io.IOException- Since:
- 2.20
-
setValue
public void setValue(java.lang.Object parameterObject) throws java.io.IOExceptionMethod called to assign stored value of this property to specified parameter object.- Throws:
java.io.IOException- Since:
- 2.18
-
-