public final class PropertyValueBuffer extends Object
PropertyValue
s.
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 and Description |
---|
PropertyValueBuffer(JsonParser jp,
DeserializationContext ctxt,
int paramCount) |
Modifier and Type | Method and Description |
---|---|
boolean |
assignParameter(int index,
Object value) |
void |
bufferAnyProperty(SettableAnyProperty prop,
String propName,
Object value) |
protected PropertyValue |
buffered() |
void |
bufferMapProperty(Object key,
Object value) |
void |
bufferProperty(SettableBeanProperty prop,
Object value) |
protected Object[] |
getParameters(Object[] defaults) |
void |
inject(SettableBeanProperty[] injectableProperties) |
public PropertyValueBuffer(JsonParser jp, DeserializationContext ctxt, int paramCount)
public void inject(SettableBeanProperty[] injectableProperties)
protected final Object[] getParameters(Object[] defaults)
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)protected PropertyValue buffered()
public boolean assignParameter(int index, Object value)
public void bufferProperty(SettableBeanProperty prop, Object value)
public void bufferAnyProperty(SettableAnyProperty prop, String propName, Object value)