public static class InjectableValues.Std extends InjectableValues.Base implements Serializable
InjectableValues.Base, InjectableValues.Std| Modifier and Type | Method and Description |
|---|---|
InjectableValues.Std |
addValue(Class<?> classKey,
Object value) |
InjectableValues.Std |
addValue(String key,
Object value) |
Object |
findInjectableValue(DeserializationContext ctxt,
Object valueId,
BeanProperty forProperty,
Object beanInstance,
Boolean optional,
Boolean useInput)
Method called to find value identified by id
valueId to
inject as value of specified property during deserialization, passing
POJO instance in which value will be injected if it is available
(will be available when injected via field or setter; not available
when injected via constructor or factory method argument). |
_handleMissingValue, _validateKey, findInjectableValueemptypublic InjectableValues.Std addValue(String key, Object value)
public InjectableValues.Std addValue(Class<?> classKey, Object value)
public Object findInjectableValue(DeserializationContext ctxt, Object valueId, BeanProperty forProperty, Object beanInstance, Boolean optional, Boolean useInput) throws JsonMappingException
InjectableValuesvalueId to
inject as value of specified property during deserialization, passing
POJO instance in which value will be injected if it is available
(will be available when injected via field or setter; not available
when injected via constructor or factory method argument).findInjectableValue in class InjectableValuesctxt - Deserialization contextvalueId - Object that identifies value to inject; may be a simple
name or more complex identifier object, whatever provider needsforProperty - Bean property in which value is to be injectedbeanInstance - Bean instance that contains property to inject,
if available; null if bean has not yet been constructed.optional - Flag used for configuring the behavior when the value
to inject is not foundJsonMappingExceptionCopyright © 2008–2026 FasterXML. All rights reserved.