com.fasterxml.jackson.databind.deser.impl
Class ValueInjector
java.lang.Object
com.fasterxml.jackson.databind.BeanProperty.Std
com.fasterxml.jackson.databind.deser.impl.ValueInjector
- All Implemented Interfaces:
- BeanProperty, Named
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)
Field Summary |
protected Object |
_valueId
Identifier used for looking up value to inject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_valueId
protected final Object _valueId
- Identifier used for looking up value to inject
ValueInjector
public ValueInjector(String propertyName,
JavaType type,
Annotations contextAnnotations,
AnnotatedMember mutator,
Object valueId)
findValue
public Object findValue(DeserializationContext context,
Object beanInstance)
inject
public void inject(DeserializationContext context,
Object beanInstance)
throws IOException
- Throws:
IOException
Copyright © 2012 fasterxml.com. All Rights Reserved.