Top Fields Constructors Methods
com.fasterxml.jackson.datatype.guava.ser

public Class GuavaOptionalBeanPropertyWriter

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

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from com.fasterxml.jackson.databind.ser.BeanPropertyWriter:
_accessorMethod_cfgSerializationType_contextAnnotations_declaredType_dynamicSerializers_field_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 com.fasterxml.jackson.databind.ser.BeanPropertyWriter._new.

Overridable factory method used by sub-classes

public void
serializeAsField(Object bean, JsonGenerator gen, SerializerProvider prov)

Overrides com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField.

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 com.fasterxml.jackson.databind.ser.BeanPropertyWriter.unwrappingWriter.

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

Inherited from com.fasterxml.jackson.databind.ser.BeanPropertyWriter:
_depositSchemaProperty_findAndAddDynamic_handleSelfReferenceassignNullSerializerassignSerializerassignTypeSerializerdepositSchemaPropertydepositSchemaPropertyfixAccessgetgetAnnotationgetContextAnnotationgetFullNamegetGenericPropertyTypegetInternalSettinggetMembergetNamegetPropertyTypegetRawSerializationTypegetSerializationTypegetSerializedNamegetSerializergetTypegetTypeSerializergetViewsgetWrapperNamehasNullSerializerhasSerializerisUnwrappingremoveInternalSettingrenameserializeAsElementserializeAsOmittedFieldserializeAsPlaceholdersetInternalSettingsetNonTrivialBaseTypetoStringwillSuppressNullswouldConflictWithName

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serialVersionUID.

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 com.fasterxml.jackson.databind.ser.BeanPropertyWriter._new.

Doc from com.fasterxml.jackson.databind.ser.BeanPropertyWriter._new.

Overridable factory method used by sub-classes

Annotations
@Override
serializeAsFieldback to summary
public void serializeAsField(Object bean, JsonGenerator gen, SerializerProvider prov) throws Exception

Overrides com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField.

Doc from com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField.

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 com.fasterxml.jackson.databind.ser.BeanPropertyWriter.unwrappingWriter.

Doc from com.fasterxml.jackson.databind.ser.BeanPropertyWriter.unwrappingWriter.

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

Annotations
@Override