NullValueProvider that will always throw a
InvalidNullException when a null is encountered.
| Modifier and Type | Field and Description |
|---|---|
| protected final PropertyName | |
| protected final JavaType | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static NullsFailProvider | |
| public static NullsFailProvider | |
| public static NullsFailProvider | |
| public AccessPattern | getNullAccessPattern()
Implements com. |
| public Object | getNullValue(DeserializationContext ctxt)
Implements com. |
| _name | back to summary |
|---|---|
| protected final PropertyName _name | |
| _type | back to summary |
|---|---|
| protected final JavaType _type | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| NullsFailProvider | back to summary |
|---|---|
| protected NullsFailProvider(PropertyName name, JavaType type) | |
| constructForProperty | back to summary |
|---|---|
| public static NullsFailProvider constructForProperty(BeanProperty prop) | |
| constructForProperty | back to summary |
|---|---|
| public static NullsFailProvider constructForProperty(BeanProperty prop, JavaType type) | |
| constructForRootValue | back to summary |
|---|---|
| public static NullsFailProvider constructForRootValue(JavaType t) | |
| getNullAccessPattern | back to summary |
|---|---|
| public AccessPattern getNullAccessPattern() Implements com. Doc from com. Accessor that may be used to determine if and when provider must be called to access null replacement value.
| |
| getNullValue | back to summary |
|---|---|
| public Object getNullValue(DeserializationContext ctxt) throws JsonMappingException Implements com. Doc from com. Method 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
| |