Class SettableBooleanMethodProperty
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.SettableBooleanMethodProperty
- All Implemented Interfaces:
com.fasterxml.jackson.databind.BeanProperty, com.fasterxml.jackson.databind.util.Named, Serializable
public final class SettableBooleanMethodProperty
extends com.fasterxml.jackson.databind.deser.SettableBeanProperty.Delegating
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.deser.SettableBeanProperty
com.fasterxml.jackson.databind.deser.SettableBeanProperty.DelegatingNested classes/interfaces inherited from interface com.fasterxml.jackson.databind.BeanProperty
com.fasterxml.jackson.databind.BeanProperty.Bogus, com.fasterxml.jackson.databind.BeanProperty.Std -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intprotected BeanPropertyMutatorprotected final booleanFields inherited from class com.fasterxml.jackson.databind.deser.SettableBeanProperty.Delegating
delegateFields inherited from class com.fasterxml.jackson.databind.deser.SettableBeanProperty
_contextAnnotations, _managedReferenceName, _nullProvider, _objectIdInfo, _propertyIndex, _propName, _type, _valueDeserializer, _valueTypeDeserializer, _viewMatcher, _wrapperName, MISSING_VALUE_DESERIALIZERFields inherited from class com.fasterxml.jackson.databind.introspect.ConcreteBeanPropertyBase
_aliases, _metadataFields inherited from interface com.fasterxml.jackson.databind.BeanProperty
EMPTY_FORMAT, EMPTY_INCLUDE -
Constructor Summary
ConstructorsConstructorDescriptionSettableBooleanMethodProperty(com.fasterxml.jackson.databind.deser.SettableBeanProperty src, BeanPropertyMutator mutator, int index) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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) deserializeSetAndReturn(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt, Object instance) intvoidsetAndReturn(Object instance, Object value) protected com.fasterxml.jackson.databind.deser.SettableBeanPropertywithDelegate(com.fasterxml.jackson.databind.deser.SettableBeanProperty del) com.fasterxml.jackson.databind.deser.SettableBeanPropertyfinal 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, withNullProviderMethods 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, withSimpleNameMethods inherited from class com.fasterxml.jackson.databind.introspect.ConcreteBeanPropertyBase
findAliases, findFormatOverrides, findPropertyFormat, findPropertyInclusion, getMetadata, isRequired, isVirtual
-
Field Details
-
_propertyMutator
-
_optimizedIndex
protected final int _optimizedIndex -
_skipNulls
protected final boolean _skipNulls- Since:
- 2.9
-
-
Constructor Details
-
SettableBooleanMethodProperty
public SettableBooleanMethodProperty(com.fasterxml.jackson.databind.deser.SettableBeanProperty src, BeanPropertyMutator mutator, int index)
-
-
Method Details
-
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
- 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
- Overrides:
setAndReturnin classcom.fasterxml.jackson.databind.deser.SettableBeanProperty.Delegating- Throws:
IOException
-
getOptimizedIndex
public int getOptimizedIndex() -
_reportProblem
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.
-