Class PropertyValueBuffer
java.lang.Object
org.codehaus.jackson.map.deser.impl.PropertyValueBuffer
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.-
Constructor Summary
ConstructorsConstructorDescriptionPropertyValueBuffer(JsonParser jp, DeserializationContext ctxt, int paramCount) -
Method Summary
Modifier and TypeMethodDescriptionbooleanassignParameter(int index, Object value) voidbufferAnyProperty(SettableAnyProperty prop, String propName, Object value) protected PropertyValuebuffered()voidbufferMapProperty(Object key, Object value) voidbufferProperty(SettableBeanProperty prop, Object value) protected final Object[]getParameters(Object[] defaults) voidinject(SettableBeanProperty[] injectableProperties)
-
Constructor Details
-
PropertyValueBuffer
-
-
Method Details
-
inject
-
getParameters
- Parameters:
defaults- If any of parameters requires nulls to be replaced with a non-null object (usually primitive types), this is a non-null array that has such replacement values (and nulls for cases where nulls are ok)
-
buffered
-
assignParameter
- Returns:
- True if we have received all creator parameters
-
bufferProperty
-
bufferAnyProperty
-
bufferMapProperty
-