java.lang.Object
tools.jackson.databind.BeanProperty.Std
tools.jackson.databind.deser.impl.ValueInjector
- All Implemented Interfaces:
Serializable,Named,BeanProperty,FullyNamed
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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface tools.jackson.databind.BeanProperty
BeanProperty.Bogus, BeanProperty.StdNested classes/interfaces inherited from interface tools.jackson.core.util.Named
Named.StringAsNamed -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ObjectIdentifier used for looking up value to injectFields inherited from class tools.jackson.databind.BeanProperty.Std
_member, _metadata, _name, _type, _wrapperNameFields inherited from interface tools.jackson.databind.BeanProperty
EMPTY_FORMAT, EMPTY_INCLUDE -
Constructor Summary
ConstructorsConstructorDescriptionValueInjector(PropertyName propName, JavaType type, AnnotatedMember mutator, Object valueId) -
Method Summary
Modifier and TypeMethodDescriptionfindValue(DeserializationContext context, Object beanInstance) voidinject(DeserializationContext context, Object beanInstance) Methods inherited from class tools.jackson.databind.BeanProperty.Std
depositSchemaProperty, findAliases, findFormatOverrides, findPropertyFormat, findPropertyInclusion, getAnnotation, getContextAnnotation, getFullName, getMember, getMetadata, getName, getType, getWrapperName, isRequired, isVirtual, withTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tools.jackson.databind.util.FullyNamed
hasName
-
Field Details
-
_valueId
Identifier used for looking up value to inject
-
-
Constructor Details
-
ValueInjector
-
-
Method Details
-
findValue
public Object findValue(DeserializationContext context, Object beanInstance) throws JacksonException - Throws:
JacksonException
-
inject
- Throws:
JacksonException
-