Class PropertyValue

java.lang.Object
tools.jackson.databind.deser.bean.PropertyValue
Direct Known Subclasses:
PropertyValue.Any, PropertyValue.AnyParameter, PropertyValue.Map, PropertyValue.Merging, PropertyValue.Regular

public abstract class PropertyValue extends Object
Base class for property values that need to be buffered during deserialization.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    (package private) static final class 
    Property 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 final class 
    Property value type used when storing entries to be passed to constructor of POJO using "any-setter".
    (package private) static final class 
    Property value type used when storing entries to be added to a Map.
    (package private) static final class 
    Property value type used when merging values.
    (package private) static final class 
    Property value that used when assigning value to property using a setter method or direct field access.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    final Object
    Value to assign when POJO has been instantiated.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract void
    Method called to assign stored value of this property to specified bean instance
    void
    setValue(DeserializationContext ctxt, Object parameterObject)
    Method called to assign stored value of this property to specified parameter object.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • next

      public final PropertyValue next
    • value

      public final Object value
      Value to assign when POJO has been instantiated.
  • Constructor Details

  • Method Details

    • assign

      public abstract void assign(DeserializationContext ctxt, Object bean) throws tools.jackson.core.JacksonException
      Method called to assign stored value of this property to specified bean instance
      Throws:
      tools.jackson.core.JacksonException
    • setValue

      public void setValue(DeserializationContext ctxt, Object parameterObject) throws tools.jackson.core.JacksonException
      Method called to assign stored value of this property to specified parameter object.
      Throws:
      tools.jackson.core.JacksonException