Class ValueInjector
java.lang.Object
org.codehaus.jackson.map.BeanProperty.Std
org.codehaus.jackson.map.deser.impl.ValueInjector
- All Implemented Interfaces:
BeanProperty
,Named
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)
- Since:
- 1.9
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.codehaus.jackson.map.BeanProperty
BeanProperty.Std
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Object
Identifier used for looking up value to injectFields inherited from class org.codehaus.jackson.map.BeanProperty.Std
_contextAnnotations, _member, _name, _type
-
Constructor Summary
ConstructorsConstructorDescriptionValueInjector
(String propertyName, JavaType type, Annotations contextAnnotations, AnnotatedMember mutator, Object valueId) -
Method Summary
Modifier and TypeMethodDescriptionfindValue
(DeserializationContext context, Object beanInstance) void
inject
(DeserializationContext context, Object beanInstance) Methods inherited from class org.codehaus.jackson.map.BeanProperty.Std
getAnnotation, getContextAnnotation, getMember, getName, getType, withType
-
Field Details
-
_valueId
Identifier used for looking up value to inject
-
-
Constructor Details
-
ValueInjector
public ValueInjector(String propertyName, JavaType type, Annotations contextAnnotations, AnnotatedMember mutator, Object valueId)
-
-
Method Details
-
findValue
-
inject
- Throws:
IOException
-