Class PropertyValueBuffer
- java.lang.Object
-
- org.codehaus.jackson.map.deser.impl.PropertyValueBuffer
-
public final class PropertyValueBuffer extends java.lang.ObjectSimple container used for temporarily buffering a set ofPropertyValues. 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
Constructors Constructor Description PropertyValueBuffer(JsonParser jp, DeserializationContext ctxt, int paramCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanassignParameter(int index, java.lang.Object value)voidbufferAnyProperty(SettableAnyProperty prop, java.lang.String propName, java.lang.Object value)protected PropertyValuebuffered()voidbufferMapProperty(java.lang.Object key, java.lang.Object value)voidbufferProperty(SettableBeanProperty prop, java.lang.Object value)protected java.lang.Object[]getParameters(java.lang.Object[] defaults)voidinject(SettableBeanProperty[] injectableProperties)
-
-
-
Constructor Detail
-
PropertyValueBuffer
public PropertyValueBuffer(JsonParser jp, DeserializationContext ctxt, int paramCount)
-
-
Method Detail
-
inject
public void inject(SettableBeanProperty[] injectableProperties)
-
getParameters
protected final java.lang.Object[] getParameters(java.lang.Object[] defaults)
- 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
protected PropertyValue buffered()
-
assignParameter
public boolean assignParameter(int index, java.lang.Object value)- Returns:
- True if we have received all creator parameters
-
bufferProperty
public void bufferProperty(SettableBeanProperty prop, java.lang.Object value)
-
bufferAnyProperty
public void bufferAnyProperty(SettableAnyProperty prop, java.lang.String propName, java.lang.Object value)
-
bufferMapProperty
public void bufferMapProperty(java.lang.Object key, java.lang.Object value)
-
-