Class IntMethodPropertyWriter
- java.lang.Object
-
- com.fasterxml.jackson.databind.introspect.ConcreteBeanPropertyBase
-
- com.fasterxml.jackson.databind.ser.PropertyWriter
-
- com.fasterxml.jackson.databind.ser.BeanPropertyWriter
-
- com.fasterxml.jackson.module.afterburner.ser.OptimizedBeanPropertyWriter<IntMethodPropertyWriter>
-
- com.fasterxml.jackson.module.afterburner.ser.IntMethodPropertyWriter
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.BeanProperty
,com.fasterxml.jackson.databind.util.Named
,java.io.Serializable
public final class IntMethodPropertyWriter extends OptimizedBeanPropertyWriter<IntMethodPropertyWriter>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private int
_suppressableInt
private boolean
_suppressableIntSet
private static long
serialVersionUID
-
Fields inherited from class com.fasterxml.jackson.module.afterburner.ser.OptimizedBeanPropertyWriter
_fastName, _propertyAccessor, _propertyIndex, broken, fallbackWriter
-
Fields inherited from class com.fasterxml.jackson.databind.ser.BeanPropertyWriter
_accessorMethod, _cfgSerializationType, _contextAnnotations, _declaredType, _dynamicSerializers, _field, _includeInViews, _internalSettings, _member, _name, _nonTrivialBaseType, _nullSerializer, _serializer, _suppressableValue, _suppressNulls, _typeSerializer, _wrapperName, MARKER_FOR_EMPTY
-
-
Constructor Summary
Constructors Constructor Description IntMethodPropertyWriter(com.fasterxml.jackson.databind.ser.BeanPropertyWriter src, BeanPropertyAccessor acc, int index, com.fasterxml.jackson.databind.JsonSerializer<java.lang.Object> ser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serializeAsElement(java.lang.Object bean, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider prov)
void
serializeAsField(java.lang.Object bean, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider prov)
IntMethodPropertyWriter
withAccessor(BeanPropertyAccessor acc)
com.fasterxml.jackson.databind.ser.BeanPropertyWriter
withSerializer(com.fasterxml.jackson.databind.JsonSerializer<java.lang.Object> ser)
-
Methods inherited from class com.fasterxml.jackson.module.afterburner.ser.OptimizedBeanPropertyWriter
_handleProblem, _reportProblem, assignNullSerializer, assignSerializer, assignTypeSerializer, isDefaultSerializer
-
Methods inherited from class com.fasterxml.jackson.databind.ser.BeanPropertyWriter
_depositSchemaProperty, _findAndAddDynamic, _handleSelfReference, _new, depositSchemaProperty, depositSchemaProperty, fixAccess, get, getAnnotation, getContextAnnotation, getFullName, getGenericPropertyType, getInternalSetting, getMember, getName, getPropertyType, getRawSerializationType, getSerializationType, getSerializedName, getSerializer, getType, getTypeSerializer, getViews, getWrapperName, hasNullSerializer, hasSerializer, isUnwrapping, removeInternalSetting, rename, serializeAsOmittedField, serializeAsPlaceholder, setInternalSetting, setNonTrivialBaseType, toString, unwrappingWriter, willSuppressNulls, wouldConflictWithName
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
_suppressableInt
private final int _suppressableInt
-
_suppressableIntSet
private final boolean _suppressableIntSet
-
-
Constructor Detail
-
IntMethodPropertyWriter
public IntMethodPropertyWriter(com.fasterxml.jackson.databind.ser.BeanPropertyWriter src, BeanPropertyAccessor acc, int index, com.fasterxml.jackson.databind.JsonSerializer<java.lang.Object> ser)
-
-
Method Detail
-
withSerializer
public com.fasterxml.jackson.databind.ser.BeanPropertyWriter withSerializer(com.fasterxml.jackson.databind.JsonSerializer<java.lang.Object> ser)
- Specified by:
withSerializer
in classOptimizedBeanPropertyWriter<IntMethodPropertyWriter>
-
withAccessor
public IntMethodPropertyWriter withAccessor(BeanPropertyAccessor acc)
- Specified by:
withAccessor
in classOptimizedBeanPropertyWriter<IntMethodPropertyWriter>
-
serializeAsField
public final void serializeAsField(java.lang.Object bean, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider prov) throws java.lang.Exception
- Specified by:
serializeAsField
in classOptimizedBeanPropertyWriter<IntMethodPropertyWriter>
- Throws:
java.lang.Exception
-
serializeAsElement
public final void serializeAsElement(java.lang.Object bean, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider prov) throws java.lang.Exception
- Specified by:
serializeAsElement
in classOptimizedBeanPropertyWriter<IntMethodPropertyWriter>
- Throws:
java.lang.Exception
-
-