Class NullsFailProvider
java.lang.Object
tools.jackson.databind.deser.impl.NullsFailProvider
- All Implemented Interfaces:
Serializable, NullValueProvider
Simple
NullValueProvider that will always throw a
InvalidNullException when a null is encountered.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final PropertyNameprotected final JavaTypeprivate static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic NullsFailProviderstatic NullsFailProviderconstructForProperty(BeanProperty prop, JavaType type) static NullsFailProviderAccessor that may be used to determine if and when provider must be called to access null replacement value.Method called to possibly convert incoming `null` token (read via underlying streaming input source) into other value of type accessor supports.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NullValueProvider
getAbsentValue
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
_name
-
_type
-
-
Constructor Details
-
NullsFailProvider
-
-
Method Details
-
constructForProperty
-
constructForProperty
-
constructForRootValue
-
getNullAccessPattern
Description copied from interface:NullValueProviderAccessor that may be used to determine if and when provider must be called to access null replacement value.- Specified by:
getNullAccessPatternin interfaceNullValueProvider
-
getNullValue
Description copied from interface:NullValueProviderMethod called to possibly convert incoming `null` token (read via underlying streaming input source) into other value of type accessor supports. May return `null`, or value compatible with type binding.NOTE: if
NullValueProvider.getNullAccessPattern()returns `ALWAYS_NULL` or `CONSTANT`, this method WILL NOT use provided `ctxt` and it may thus be passed as `null`.- Specified by:
getNullValuein interfaceNullValueProvider
-