public final class SettableIntFieldProperty
extends com.fasterxml.jackson.databind.deser.SettableBeanProperty
Modifier and Type | Field and Description |
---|---|
protected int |
_optimizedIndex |
protected com.fasterxml.jackson.databind.deser.SettableBeanProperty |
_originalSettable
We will need to keep the original instance handy as
some calls are best just delegated
|
protected BeanPropertyMutator |
_propertyMutator |
_contextAnnotations, _managedReferenceName, _metadata, _nullProvider, _objectIdInfo, _propertyIndex, _propName, _type, _valueDeserializer, _valueTypeDeserializer, _viewMatcher, _wrapperName, MISSING_VALUE_DESERIALIZER
Constructor and Description |
---|
SettableIntFieldProperty(com.fasterxml.jackson.databind.deser.SettableBeanProperty src,
BeanPropertyMutator mutator,
int index) |
SettableIntFieldProperty(SettableIntFieldProperty src,
com.fasterxml.jackson.databind.JsonDeserializer<?> deser) |
SettableIntFieldProperty(SettableIntFieldProperty src,
com.fasterxml.jackson.databind.PropertyName name) |
Modifier and Type | Method and Description |
---|---|
protected String |
_convertToString(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt)
Helper method for coercing JSON values other than Strings into
Java String value.
|
protected int |
_deserializeInt(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
protected long |
_deserializeLong(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
protected String |
_deserializeString(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
void |
deserializeAndSet(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
Object bean) |
Object |
deserializeSetAndReturn(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt,
Object instance) |
<A extends Annotation> |
getAnnotation(Class<A> ann) |
com.fasterxml.jackson.databind.introspect.AnnotatedMember |
getMember() |
void |
set(Object bean,
Object value) |
Object |
setAndReturn(Object instance,
Object value) |
SettableIntFieldProperty |
withMutator(BeanPropertyMutator mut) |
SettableIntFieldProperty |
withName(com.fasterxml.jackson.databind.PropertyName name) |
SettableIntFieldProperty |
withValueDeserializer(com.fasterxml.jackson.databind.JsonDeserializer<?> deser) |
_throwAsIOE, _throwAsIOE, assignIndex, depositSchemaProperty, deserialize, getContextAnnotation, getCreatorIndex, getDeclaringClass, getFullName, getInjectableValueId, getManagedReferenceName, getMetadata, getName, getObjectIdInfo, getPropertyIndex, getType, getValueDeserializer, getValueTypeDeserializer, getWrapperName, hasValueDeserializer, hasValueTypeDeserializer, hasViews, isRequired, setManagedReferenceName, setObjectIdInfo, setViews, toString, visibleInView, withName, withSimpleName
protected final com.fasterxml.jackson.databind.deser.SettableBeanProperty _originalSettable
protected final BeanPropertyMutator _propertyMutator
protected final int _optimizedIndex
public SettableIntFieldProperty(com.fasterxml.jackson.databind.deser.SettableBeanProperty src, BeanPropertyMutator mutator, int index)
public SettableIntFieldProperty(SettableIntFieldProperty src, com.fasterxml.jackson.databind.JsonDeserializer<?> deser)
public SettableIntFieldProperty(SettableIntFieldProperty src, com.fasterxml.jackson.databind.PropertyName name)
public SettableIntFieldProperty withName(com.fasterxml.jackson.databind.PropertyName name)
withName
in class com.fasterxml.jackson.databind.deser.SettableBeanProperty
public SettableIntFieldProperty withValueDeserializer(com.fasterxml.jackson.databind.JsonDeserializer<?> deser)
public SettableIntFieldProperty withMutator(BeanPropertyMutator mut)
public void deserializeAndSet(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt, Object bean) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
IOException
com.fasterxml.jackson.core.JsonProcessingException
public void set(Object bean, Object value) throws IOException
IOException
public Object deserializeSetAndReturn(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt, Object instance) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
IOException
com.fasterxml.jackson.core.JsonProcessingException
public <A extends Annotation> A getAnnotation(Class<A> ann)
getAnnotation
in interface com.fasterxml.jackson.databind.BeanProperty
getAnnotation
in class com.fasterxml.jackson.databind.deser.SettableBeanProperty
public com.fasterxml.jackson.databind.introspect.AnnotatedMember getMember()
getMember
in interface com.fasterxml.jackson.databind.BeanProperty
getMember
in class com.fasterxml.jackson.databind.deser.SettableBeanProperty
public Object setAndReturn(Object instance, Object value) throws IOException
setAndReturn
in class com.fasterxml.jackson.databind.deser.SettableBeanProperty
IOException
protected final int _deserializeInt(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
IOException
com.fasterxml.jackson.core.JsonProcessingException
protected final long _deserializeLong(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
IOException
com.fasterxml.jackson.core.JsonProcessingException
protected final String _deserializeString(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
IOException
com.fasterxml.jackson.core.JsonProcessingException
protected final String _convertToString(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
IOException
com.fasterxml.jackson.core.JsonProcessingException
Copyright © 2015. All rights reserved.