com.fasterxml.jackson.databind.deser.impl

Class PropertyValueBuffer

  • java.lang.Object
    • com.fasterxml.jackson.databind.deser.impl.PropertyValueBuffer


  • public class PropertyValueBuffer
    extends Object
    Simple container used for temporarily buffering a set of PropertyValues. Using during construction of beans (and Maps) that use Creators, and hence need buffering before instance (that will have properties to assign values to) is constructed.
    • Field Detail

      • _creatorParameters

        protected final Object[] _creatorParameters
        Buffer used for storing creator parameters for constructing instance.
      • _paramsNeeded

        protected int _paramsNeeded
        Number of creator parameters for which we have not yet received values.
      • _paramsSeen

        protected int _paramsSeen
        Bitflag used to track parameters found from incoming data when number of parameters is less than 32 (fits in int).
      • _paramsSeenBig

        protected final BitSet _paramsSeenBig
        Bitflag used to track parameters found from incoming data when number of parameters is 32 or higher.
      • _buffered

        protected PropertyValue _buffered
        If we get non-creator parameters before or between creator parameters, those need to be buffered. Buffer is just a simple linked list
      • _idValue

        protected Object _idValue
        In case there is an Object Id property to handle, this is the value we have for it.

Copyright © 2008–2016 FasterXML. All rights reserved.