public class AtomicReferenceSerializer extends ReferenceTypeSerializer<java.util.concurrent.atomic.AtomicReference<?>>
JsonSerializer.None
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
_dynamicSerializers, _property, _referredType, _suppressableValue, _suppressNulls, _unwrapper, _valueSerializer, _valueTypeSerializer, MARKER_FOR_EMPTY
_handledType
Modifier | Constructor and Description |
---|---|
protected |
AtomicReferenceSerializer(AtomicReferenceSerializer base,
BeanProperty property,
TypeSerializer vts,
JsonSerializer<?> valueSer,
NameTransformer unwrapper,
java.lang.Object suppressableValue,
boolean suppressNulls) |
|
AtomicReferenceSerializer(ReferenceType fullType,
boolean staticTyping,
TypeSerializer vts,
JsonSerializer<java.lang.Object> ser) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
_getReferenced(java.util.concurrent.atomic.AtomicReference<?> value) |
protected java.lang.Object |
_getReferencedIfPresent(java.util.concurrent.atomic.AtomicReference<?> value) |
protected boolean |
_isValuePresent(java.util.concurrent.atomic.AtomicReference<?> value)
Method called to see if there is a value present or not.
|
ReferenceTypeSerializer<java.util.concurrent.atomic.AtomicReference<?>> |
withContentInclusion(java.lang.Object suppressableValue,
boolean suppressNulls)
Mutant factory method called to create a differently constructed instance,
specifically with different exclusion rules for contained value.
|
protected ReferenceTypeSerializer<java.util.concurrent.atomic.AtomicReference<?>> |
withResolved(BeanProperty prop,
TypeSerializer vts,
JsonSerializer<?> valueSer,
NameTransformer unwrapper)
Mutant factory method called when changes are needed; should construct
newly configured instance with new values as indicated.
|
_useStatic, acceptJsonFormatVisitor, createContextual, getReferredType, isEmpty, isUnwrappingSerializer, serialize, serializeWithType, unwrappingSerializer
_neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow
getDelegatee, isEmpty, properties, replaceDelegatee, usesObjectId, withFilterId
private static final long serialVersionUID
public AtomicReferenceSerializer(ReferenceType fullType, boolean staticTyping, TypeSerializer vts, JsonSerializer<java.lang.Object> ser)
protected AtomicReferenceSerializer(AtomicReferenceSerializer base, BeanProperty property, TypeSerializer vts, JsonSerializer<?> valueSer, NameTransformer unwrapper, java.lang.Object suppressableValue, boolean suppressNulls)
protected ReferenceTypeSerializer<java.util.concurrent.atomic.AtomicReference<?>> withResolved(BeanProperty prop, TypeSerializer vts, JsonSerializer<?> valueSer, NameTransformer unwrapper)
ReferenceTypeSerializer
NOTE: caller has verified that there are changes, so implementations need NOT check if a new instance is needed.
withResolved
in class ReferenceTypeSerializer<java.util.concurrent.atomic.AtomicReference<?>>
public ReferenceTypeSerializer<java.util.concurrent.atomic.AtomicReference<?>> withContentInclusion(java.lang.Object suppressableValue, boolean suppressNulls)
ReferenceTypeSerializer
NOTE: caller has verified that there are changes, so implementations need NOT check if a new instance is needed.
withContentInclusion
in class ReferenceTypeSerializer<java.util.concurrent.atomic.AtomicReference<?>>
protected boolean _isValuePresent(java.util.concurrent.atomic.AtomicReference<?> value)
ReferenceTypeSerializer
_isValuePresent
in class ReferenceTypeSerializer<java.util.concurrent.atomic.AtomicReference<?>>
protected java.lang.Object _getReferenced(java.util.concurrent.atomic.AtomicReference<?> value)
_getReferenced
in class ReferenceTypeSerializer<java.util.concurrent.atomic.AtomicReference<?>>
protected java.lang.Object _getReferencedIfPresent(java.util.concurrent.atomic.AtomicReference<?> value)
_getReferencedIfPresent
in class ReferenceTypeSerializer<java.util.concurrent.atomic.AtomicReference<?>>