Top Fields Constructors Methods
tools.jackson.datatype.guava.ser

public Class GuavaOptionalBeanPropertyWriter

extends BeanPropertyWriter
Class Inheritance
Imports
tools.jackson.core.JsonGenerator, tools.jackson.databind.PropertyName, .SerializationContext, tools.jackson.databind.ser.BeanPropertyWriter, tools.jackson.databind.util.NameTransformer, com.google.common.base.Optional

Field Summary

Inherited from tools.jackson.databind.ser.BeanPropertyWriter:
_accessor_cfgSerializationType_contextAnnotations_declaredType_dynamicSerializers_includeInViews_internalSettings_member_name_nonTrivialBaseType_nullSerializer_serializer_suppressableValue_suppressNulls_typeSerializer_wrapperNameMARKER_FOR_EMPTY

Constructor Summary

AccessConstructor and Description
protected
protected

Method Summary

Modifier and TypeMethod and Description
protected BeanPropertyWriter
_new(PropertyName newName)

Overrides tools.jackson.databind.ser.BeanPropertyWriter._new.

Overridable factory method used by sub-classes

public void
serializeAsProperty(Object bean, JsonGenerator gen, SerializationContext ctxt)

Overrides tools.jackson.databind.ser.BeanPropertyWriter.serializeAsProperty.

Method called to access property that this bean stands for, from within given bean, and to serialize it as a JSON Object field using appropriate serializer.

public BeanPropertyWriter
unwrappingWriter(NameTransformer unwrapper)

Overrides tools.jackson.databind.ser.BeanPropertyWriter.unwrappingWriter.

Method called create an instance that handles details of unwrapping contained value.

Inherited from tools.jackson.databind.ser.BeanPropertyWriter:
_depositSchemaProperty_findAndAddDynamic_handleSelfReferenceassignNullSerializerassignSerializerassignTypeSerializerdepositSchemaPropertyfixAccessgetgetAnnotationgetContextAnnotationgetFullNamegetInternalSettinggetMembergetNamegetSerializationTypegetSerializedNamegetSerializergetTypegetTypeSerializergetViewsgetWrapperNamehasNullSerializerhasSerializerisUnwrappingremoveInternalSettingrenameserializeAsElementserializeAsOmittedElementserializeAsOmittedPropertysetInternalSettingsetNonTrivialBaseTypetoStringwillSuppressNullswouldConflictWithName

Constructor Detail

GuavaOptionalBeanPropertyWriterback to summary
protected GuavaOptionalBeanPropertyWriter(BeanPropertyWriter base)
GuavaOptionalBeanPropertyWriterback to summary
protected GuavaOptionalBeanPropertyWriter(BeanPropertyWriter base, PropertyName newName)

Method Detail

_newback to summary
protected BeanPropertyWriter _new(PropertyName newName)

Overrides tools.jackson.databind.ser.BeanPropertyWriter._new.

Doc from tools.jackson.databind.ser.BeanPropertyWriter._new.

Overridable factory method used by sub-classes

Annotations
@Override
serializeAsPropertyback to summary
public void serializeAsProperty(Object bean, JsonGenerator gen, SerializationContext ctxt) throws Exception

Overrides tools.jackson.databind.ser.BeanPropertyWriter.serializeAsProperty.

Doc from tools.jackson.databind.ser.BeanPropertyWriter.serializeAsProperty.

Method called to access property that this bean stands for, from within given bean, and to serialize it as a JSON Object field using appropriate serializer.

Annotations
@Override
unwrappingWriterback to summary
public BeanPropertyWriter unwrappingWriter(NameTransformer unwrapper)

Overrides tools.jackson.databind.ser.BeanPropertyWriter.unwrappingWriter.

Doc from tools.jackson.databind.ser.BeanPropertyWriter.unwrappingWriter.

Method called create an instance that handles details of unwrapping contained value.

Annotations
@Override