Package com.fasterxml.jackson.databind
Class InjectableValues.Empty
- java.lang.Object
-
- com.fasterxml.jackson.databind.InjectableValues
-
- com.fasterxml.jackson.databind.InjectableValues.Base
-
- com.fasterxml.jackson.databind.InjectableValues.Empty
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- InjectableValues
private static final class InjectableValues.Empty extends InjectableValues.Base implements java.io.Serializable
- Since:
- 2.21
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.InjectableValues
InjectableValues.Base, InjectableValues.Std
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static InjectableValues.EmptyINSTANCEprivate static longserialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description privateEmpty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectfindInjectableValue(DeserializationContext ctxt, java.lang.Object valueId, BeanProperty forProperty, java.lang.Object beanInstance, java.lang.Boolean optional, java.lang.Boolean useInput)Method called to find value identified by idvalueIdto 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).-
Methods inherited from class com.fasterxml.jackson.databind.InjectableValues.Base
_handleMissingValue, _validateKey, findInjectableValue
-
Methods inherited from class com.fasterxml.jackson.databind.InjectableValues
empty
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
INSTANCE
static final InjectableValues.Empty INSTANCE
-
-
Method Detail
-
findInjectableValue
public java.lang.Object findInjectableValue(DeserializationContext ctxt, java.lang.Object valueId, BeanProperty forProperty, java.lang.Object beanInstance, java.lang.Boolean optional, java.lang.Boolean useInput) throws JsonMappingException
Description copied from class:InjectableValuesMethod called to find value identified by idvalueIdto 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).- Overrides:
findInjectableValuein classInjectableValues- Parameters:
ctxt- 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 found- Throws:
JsonMappingException
-
-