Top Fields Constructors Methods
com.fasterxml.jackson.databind.ser.std

public Class AtomicReferenceSerializer

extends ReferenceTypeSerializer<AtomicReference<?>>
Class Inheritance
Imports
java.util.concurrent.atomic.AtomicReference, com.fasterxml.jackson.databind.*, com.fasterxml.jackson.databind.jsontype.TypeSerializer, com.fasterxml.jackson.databind.type.ReferenceType, com.fasterxml.jackson.databind.util.NameTransformer

Deprecated

as a consequence of ReferenceTypeSerializer being deprecated. See corresponding docs for further information.

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer:
_dynamicSerializers_property_referredType_suppressableValue_suppressNulls_unwrapper_valueSerializer_valueTypeSerializerMARKER_FOR_EMPTY

Constructor Summary

AccessConstructor and Description
public
AtomicReferenceSerializer(ReferenceType fullType, boolean staticTyping, TypeSerializer vts, JsonSerializer<Object> ser)

protected
AtomicReferenceSerializer(AtomicReferenceSerializer base, BeanProperty property, TypeSerializer vts, JsonSerializer<?> valueSer, NameTransformer unwrapper, Object suppressableValue, boolean suppressNulls)

Deprecated as a consequence of AtomicReferenceSerializer being deprecated.

Method Summary

Modifier and TypeMethod and Description
protected Object
protected Object
protected boolean
_isValuePresent(AtomicReference<?> value)

Implements abstract com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer._isValuePresent.

Method called to see if there is a value present or not.
public ReferenceTypeSerializer<AtomicReference<?>>
withContentInclusion(Object suppressableValue, boolean suppressNulls)

Implements abstract com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer.withContentInclusion.

Deprecated as a consequence of ReferenceTypeSerializer being deprecated.
Mutant factory method called to create a differently constructed instance, specifically with different exclusion rules for contained value.
protected ReferenceTypeSerializer<AtomicReference<?>>
withResolved(BeanProperty prop, TypeSerializer vts, JsonSerializer<?> valueSer, NameTransformer unwrapper)

Implements abstract com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer.withResolved.

Deprecated as a consequence of ReferenceTypeSerializer being deprecated.
Mutant factory method called when changes are needed; should construct newly configured instance with new values as indicated.
Inherited from com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer:
_useStaticacceptJsonFormatVisitorcreateContextualgetReferredTypeisEmptyisUnwrappingSerializerserializeserializeWithTypeunwrappingSerializer

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer.serialVersionUID.

Constructor Detail

AtomicReferenceSerializerback to summary
public AtomicReferenceSerializer(ReferenceType fullType, boolean staticTyping, TypeSerializer vts, JsonSerializer<Object> ser)
AtomicReferenceSerializerback to summary
protected AtomicReferenceSerializer(AtomicReferenceSerializer base, BeanProperty property, TypeSerializer vts, JsonSerializer<?> valueSer, NameTransformer unwrapper, Object suppressableValue, boolean suppressNulls)

Deprecated

as a consequence of AtomicReferenceSerializer being deprecated. See corresponding docs for further information.

Method Detail

_getReferencedback to summary
protected Object _getReferenced(AtomicReference<?> value)

Implements abstract com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer._getReferenced.

Annotations
@Override
_getReferencedIfPresentback to summary
protected Object _getReferencedIfPresent(AtomicReference<?> value)

Implements abstract com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer._getReferencedIfPresent.

Annotations
@Override
_isValuePresentback to summary
protected boolean _isValuePresent(AtomicReference<?> value)

Implements abstract com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer._isValuePresent.

Doc from com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer._isValuePresent.

Method called to see if there is a value present or not. Note that value itself may still be `null`, even if present, if referential type allows three states (absent, present-null, present-non-null); some only allow two (absent, present-non-null).

Annotations
@Override
withContentInclusionback to summary
public ReferenceTypeSerializer<AtomicReference<?>> withContentInclusion(Object suppressableValue, boolean suppressNulls)

Implements abstract com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer.withContentInclusion.

Doc from com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer.withContentInclusion.

Deprecated

as a consequence of ReferenceTypeSerializer being deprecated. See corresponding docs for further information.

Mutant factory method called to create a differently constructed instance, specifically with different exclusion rules for contained value.

Note

caller has verified that there are changes, so implementations need NOT check if a new instance is needed.

Annotations
@Override
withResolvedback to summary
protected ReferenceTypeSerializer<AtomicReference<?>> withResolved(BeanProperty prop, TypeSerializer vts, JsonSerializer<?> valueSer, NameTransformer unwrapper)

Implements abstract com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer.withResolved.

Doc from com.fasterxml.jackson.databind.ser.std.ReferenceTypeSerializer.withResolved.

Deprecated

as a consequence of ReferenceTypeSerializer being deprecated. See corresponding docs for further information.

Mutant factory method called when changes are needed; should construct newly configured instance with new values as indicated.

Note

caller has verified that there are changes, so implementations need NOT check if a new instance is needed.

Annotations
@Override