public final class SettableBooleanMethodProperty
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 |
---|
SettableBooleanMethodProperty(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 value) |
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, visibleInView, withName, withNullProvider
_throwAsIOE, _throwAsIOE, _throwAsIOE, _throwAsIOE, depositSchemaProperty, deserialize, deserializeWith, getContextAnnotation, getFullName, getName, getNullValueProvider, getType, getWrapperName, isIgnorable, markAsIgnorable, setManagedReferenceName, setObjectIdInfo, setViews, toString, withSimpleName
protected BeanPropertyMutator _propertyMutator
protected final int _optimizedIndex
protected final boolean _skipNulls
public SettableBooleanMethodProperty(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
IOException
public void set(Object bean, Object value) throws IOException
IOException
public Object deserializeSetAndReturn(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt, Object instance) throws IOException
IOException
public final com.fasterxml.jackson.databind.deser.SettableBeanProperty withValueDeserializer(com.fasterxml.jackson.databind.JsonDeserializer<?> deser)
withValueDeserializer
in class com.fasterxml.jackson.databind.deser.SettableBeanProperty.Delegating
public Object setAndReturn(Object instance, Object value) throws IOException
setAndReturn
in class com.fasterxml.jackson.databind.deser.SettableBeanProperty.Delegating
IOException
public int getOptimizedIndex()
protected void _reportProblem(Object bean, Object value, Throwable e) throws IOException
IOException
protected final boolean _deserializeBoolean(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
IOException
protected final short _deserializeShort(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
IOException
protected final int _deserializeInt(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
IOException
protected final long _deserializeLong(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
IOException
protected final String _deserializeString(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
IOException
protected final boolean _deserializeBooleanFromOther(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
IOException
protected void _failNullToPrimitiveCoercion(com.fasterxml.jackson.databind.DeserializationContext ctxt, String type) throws com.fasterxml.jackson.databind.JsonMappingException
com.fasterxml.jackson.databind.JsonMappingException
protected void _failDoubleToIntCoercion(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt, String type) throws IOException
IOException
protected 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
IOException
Copyright © 2024 FasterXML. All rights reserved.