Class ValueInjector
- java.lang.Object
 - 
- com.fasterxml.jackson.databind.BeanProperty.Std
 - 
- com.fasterxml.jackson.databind.deser.impl.ValueInjector
 
 
 
- 
- All Implemented Interfaces:
 BeanProperty,Named,java.io.Serializable
public class ValueInjector extends BeanProperty.Std
Class that encapsulates details of value injection that occurs before deserialization of a POJO. Details include information needed to find injectable value (logical id) as well as method used for assigning value (setter or field)- See Also:
 - Serialized Form
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.BeanProperty
BeanProperty.Bogus, BeanProperty.Std 
 - 
 
- 
Field Summary
- 
Fields inherited from interface com.fasterxml.jackson.databind.BeanProperty
EMPTY_FORMAT, EMPTY_INCLUDE 
 - 
 
- 
Constructor Summary
Constructors Constructor Description ValueInjector(PropertyName propName, JavaType type, AnnotatedMember mutator, java.lang.Object valueId)ValueInjector(PropertyName propName, JavaType type, Annotations contextAnnotations, AnnotatedMember mutator, java.lang.Object valueId)Deprecated.in 2.9 (remove from 3.0) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectfindValue(DeserializationContext context, java.lang.Object beanInstance)voidinject(DeserializationContext context, java.lang.Object beanInstance)- 
Methods inherited from class com.fasterxml.jackson.databind.BeanProperty.Std
depositSchemaProperty, findAliases, findFormatOverrides, findPropertyFormat, findPropertyInclusion, getAnnotation, getContextAnnotation, getFullName, getMember, getMetadata, getName, getType, getWrapperName, isRequired, isVirtual, withType 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ValueInjector
public ValueInjector(PropertyName propName, JavaType type, AnnotatedMember mutator, java.lang.Object valueId)
 
- 
ValueInjector
@Deprecated public ValueInjector(PropertyName propName, JavaType type, Annotations contextAnnotations, AnnotatedMember mutator, java.lang.Object valueId)
Deprecated.in 2.9 (remove from 3.0) 
 - 
 
- 
Method Detail
- 
findValue
public java.lang.Object findValue(DeserializationContext context, java.lang.Object beanInstance) throws JsonMappingException
- Throws:
 JsonMappingException
 
- 
inject
public void inject(DeserializationContext context, java.lang.Object beanInstance) throws java.io.IOException
- Throws:
 java.io.IOException
 
 - 
 
 -