public final class SettableObjectFieldProperty
extends com.fasterxml.jackson.databind.deser.SettableBeanProperty.Delegating
| Modifier and Type | Field and Description |
|---|---|
protected int |
_optimizedIndex |
protected BeanPropertyMutator |
_propertyMutator |
protected boolean |
_skipNulls |
delegate_contextAnnotations, _managedReferenceName, _nullProvider, _objectIdInfo, _propertyIndex, _propName, _type, _valueDeserializer, _valueTypeDeserializer, _viewMatcher, _wrapperName, MISSING_VALUE_DESERIALIZER| Constructor and Description |
|---|
SettableObjectFieldProperty(com.fasterxml.jackson.databind.deser.SettableBeanProperty src,
BeanPropertyMutator mutator,
int index) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
_deserializeBoolean(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
protected boolean |
_deserializeBooleanFromOther(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
protected int |
_deserializeInt(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
protected long |
_deserializeLong(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
protected short |
_deserializeShort(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
protected String |
_deserializeString(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
protected void |
_failDoubleToIntCoercion(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
String type) |
protected void |
_failNullToPrimitiveCoercion(com.fasterxml.jackson.databind.DeserializationContext ctxt,
String type) |
protected void |
_handleMissingEndArrayForSingle(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
protected boolean |
_hasTextualNull(String value) |
protected boolean |
_isDefaultDeserializer(com.fasterxml.jackson.databind.JsonDeserializer<?> deser)
Helper method used to check whether given deserializer is the default
deserializer implementation: this is necessary to avoid overriding custom
deserializers.
|
protected void |
_reportProblem(Object bean,
Object value,
Throwable e)
Helper method called when an exception is throw from mutator, to figure
out what to do.
|
void |
deserializeAndSet(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
Object bean) |
Object |
deserializeSetAndReturn(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
Object instance) |
int |
getOptimizedIndex() |
void |
set(Object bean,
Object v) |
Object |
setAndReturn(Object instance,
Object value) |
protected com.fasterxml.jackson.databind.deser.SettableBeanProperty |
withDelegate(com.fasterxml.jackson.databind.deser.SettableBeanProperty del) |
com.fasterxml.jackson.databind.deser.SettableBeanProperty |
withMutator(BeanPropertyMutator mut) |
com.fasterxml.jackson.databind.deser.SettableBeanProperty |
withValueDeserializer(com.fasterxml.jackson.databind.JsonDeserializer<?> deser) |
_with, assignIndex, fixAccess, getAnnotation, getCreatorIndex, getDeclaringClass, getDelegate, getInjectableValueId, getManagedReferenceName, getMember, getObjectIdInfo, getPropertyIndex, getValueDeserializer, getValueTypeDeserializer, hasValueDeserializer, hasValueTypeDeserializer, hasViews, isInjectionOnly, visibleInView, withName, withNullProvider_throwAsIOE, _throwAsIOE, _throwAsIOE, _throwAsIOE, depositSchemaProperty, deserialize, deserializeWith, getContextAnnotation, getFullName, getName, getNullValueProvider, getType, getWrapperName, isIgnorable, markAsIgnorable, setManagedReferenceName, setObjectIdInfo, setViews, toString, withSimpleNameprotected BeanPropertyMutator _propertyMutator
protected final int _optimizedIndex
protected final boolean _skipNulls
public SettableObjectFieldProperty(com.fasterxml.jackson.databind.deser.SettableBeanProperty src,
BeanPropertyMutator mutator,
int index)
protected com.fasterxml.jackson.databind.deser.SettableBeanProperty withDelegate(com.fasterxml.jackson.databind.deser.SettableBeanProperty del)
public com.fasterxml.jackson.databind.deser.SettableBeanProperty withMutator(BeanPropertyMutator mut)
public void deserializeAndSet(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
Object bean)
throws IOException
IOExceptionpublic Object deserializeSetAndReturn(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt, Object instance) throws IOException
IOExceptionpublic void set(Object bean, Object v) throws IOException
IOExceptionpublic final com.fasterxml.jackson.databind.deser.SettableBeanProperty withValueDeserializer(com.fasterxml.jackson.databind.JsonDeserializer<?> deser)
withValueDeserializer in class com.fasterxml.jackson.databind.deser.SettableBeanProperty.Delegatingpublic Object setAndReturn(Object instance, Object value) throws IOException
setAndReturn in class com.fasterxml.jackson.databind.deser.SettableBeanProperty.DelegatingIOExceptionpublic int getOptimizedIndex()
protected void _reportProblem(Object bean, Object value, Throwable e) throws IOException
IOExceptionprotected final boolean _deserializeBoolean(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt)
throws IOException
IOExceptionprotected final short _deserializeShort(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt)
throws IOException
IOExceptionprotected final int _deserializeInt(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt)
throws IOException
IOExceptionprotected final long _deserializeLong(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt)
throws IOException
IOExceptionprotected final String _deserializeString(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
IOExceptionprotected final boolean _deserializeBooleanFromOther(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt)
throws IOException
IOExceptionprotected void _failNullToPrimitiveCoercion(com.fasterxml.jackson.databind.DeserializationContext ctxt,
String type)
throws com.fasterxml.jackson.databind.JsonMappingException
com.fasterxml.jackson.databind.JsonMappingExceptionprotected void _failDoubleToIntCoercion(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
String type)
throws IOException
IOExceptionprotected boolean _hasTextualNull(String value)
protected boolean _isDefaultDeserializer(com.fasterxml.jackson.databind.JsonDeserializer<?> deser)
protected void _handleMissingEndArrayForSingle(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt)
throws IOException
IOExceptionCopyright © 2020 FasterXML. All rights reserved.