Class SettableBooleanFieldProperty
- java.lang.Object
-
- com.fasterxml.jackson.databind.introspect.ConcreteBeanPropertyBase
-
- com.fasterxml.jackson.databind.deser.SettableBeanProperty
-
- com.fasterxml.jackson.databind.deser.SettableBeanProperty.Delegating
-
- com.fasterxml.jackson.module.afterburner.deser.SettableBooleanFieldProperty
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.BeanProperty,com.fasterxml.jackson.databind.util.Named,Serializable
public final class SettableBooleanFieldProperty extends com.fasterxml.jackson.databind.deser.SettableBeanProperty.Delegating- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected int_optimizedIndexprotected BeanPropertyMutator_propertyMutatorprotected boolean_skipNulls-
Fields inherited from class com.fasterxml.jackson.databind.deser.SettableBeanProperty.Delegating
delegate
-
Fields inherited from class com.fasterxml.jackson.databind.deser.SettableBeanProperty
_contextAnnotations, _managedReferenceName, _nullProvider, _objectIdInfo, _propertyIndex, _propName, _type, _valueDeserializer, _valueTypeDeserializer, _viewMatcher, _wrapperName, MISSING_VALUE_DESERIALIZER
-
-
Constructor Summary
Constructors Constructor Description SettableBooleanFieldProperty(com.fasterxml.jackson.databind.deser.SettableBeanProperty src, BeanPropertyMutator mutator, int index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.voiddeserializeAndSet(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt, Object bean)ObjectdeserializeSetAndReturn(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt, Object instance)intgetOptimizedIndex()voidset(Object bean, Object value)ObjectsetAndReturn(Object instance, Object value)protected com.fasterxml.jackson.databind.deser.SettableBeanPropertywithDelegate(com.fasterxml.jackson.databind.deser.SettableBeanProperty del)com.fasterxml.jackson.databind.deser.SettableBeanPropertywithMutator(BeanPropertyMutator mut)com.fasterxml.jackson.databind.deser.SettableBeanPropertywithValueDeserializer(com.fasterxml.jackson.databind.JsonDeserializer<?> deser)-
Methods inherited from class com.fasterxml.jackson.databind.deser.SettableBeanProperty.Delegating
_with, assignIndex, fixAccess, getAnnotation, getCreatorIndex, getDeclaringClass, getDelegate, getInjectableValueId, getManagedReferenceName, getMember, getObjectIdInfo, getPropertyIndex, getValueDeserializer, getValueTypeDeserializer, hasValueDeserializer, hasValueTypeDeserializer, hasViews, isInjectionOnly, visibleInView, withName, withNullProvider
-
Methods inherited from class com.fasterxml.jackson.databind.deser.SettableBeanProperty
_throwAsIOE, _throwAsIOE, _throwAsIOE, _throwAsIOE, depositSchemaProperty, deserialize, deserializeWith, getContextAnnotation, getFullName, getName, getNullValueProvider, getType, getWrapperName, isIgnorable, markAsIgnorable, setManagedReferenceName, setObjectIdInfo, setViews, toString, withSimpleName
-
-
-
-
Field Detail
-
_propertyMutator
protected BeanPropertyMutator _propertyMutator
-
_optimizedIndex
protected final int _optimizedIndex
-
_skipNulls
protected final boolean _skipNulls
- Since:
- 2.9
-
-
Constructor Detail
-
SettableBooleanFieldProperty
public SettableBooleanFieldProperty(com.fasterxml.jackson.databind.deser.SettableBeanProperty src, BeanPropertyMutator mutator, int index)
-
-
Method Detail
-
withDelegate
protected com.fasterxml.jackson.databind.deser.SettableBeanProperty withDelegate(com.fasterxml.jackson.databind.deser.SettableBeanProperty del)
-
withMutator
public com.fasterxml.jackson.databind.deser.SettableBeanProperty withMutator(BeanPropertyMutator mut)
-
deserializeAndSet
public void deserializeAndSet(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt, Object bean) throws IOException- Throws:
IOException
-
set
public void set(Object bean, Object value) throws IOException
- Throws:
IOException
-
deserializeSetAndReturn
public Object deserializeSetAndReturn(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt, Object instance) throws IOException
- Throws:
IOException
-
withValueDeserializer
public final com.fasterxml.jackson.databind.deser.SettableBeanProperty withValueDeserializer(com.fasterxml.jackson.databind.JsonDeserializer<?> deser)
- Overrides:
withValueDeserializerin classcom.fasterxml.jackson.databind.deser.SettableBeanProperty.Delegating
-
setAndReturn
public Object setAndReturn(Object instance, Object value) throws IOException
- Overrides:
setAndReturnin classcom.fasterxml.jackson.databind.deser.SettableBeanProperty.Delegating- Throws:
IOException
-
getOptimizedIndex
public int getOptimizedIndex()
-
_reportProblem
protected void _reportProblem(Object bean, Object value, Throwable e) throws IOException
Helper method called when an exception is throw from mutator, to figure out what to do.- Throws:
IOException- Since:
- 2.9
-
_isDefaultDeserializer
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.
-
-