public class Jdk8OptionalBeanPropertyWriter extends BeanPropertyWriter
BeanProperty.Bogus, BeanProperty.Std
Modifier and Type | Field and Description |
---|---|
protected Object |
_empty |
_accessorMethod, _cfgSerializationType, _contextAnnotations, _declaredType, _dynamicSerializers, _field, _includeInViews, _internalSettings, _member, _name, _nonTrivialBaseType, _nullSerializer, _serializer, _suppressableValue, _suppressNulls, _typeSerializer, _wrapperName, MARKER_FOR_EMPTY
_aliases, _metadata, _propertyFormat
EMPTY_FORMAT, EMPTY_INCLUDE
Modifier | Constructor and Description |
---|---|
protected |
Jdk8OptionalBeanPropertyWriter(BeanPropertyWriter base,
Object empty) |
protected |
Jdk8OptionalBeanPropertyWriter(Jdk8OptionalBeanPropertyWriter base,
PropertyName newName) |
Modifier and Type | Method and Description |
---|---|
protected BeanPropertyWriter |
_new(PropertyName newName)
Overridable factory method used by sub-classes
|
void |
serializeAsField(Object bean,
JsonGenerator g,
SerializerProvider prov)
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.
|
BeanPropertyWriter |
unwrappingWriter(NameTransformer unwrapper)
Method called create an instance that handles details of unwrapping
contained value.
|
_depositSchemaProperty, _findAndAddDynamic, _handleSelfReference, assignNullSerializer, assignSerializer, assignTypeSerializer, 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, serializeAsElement, serializeAsOmittedField, serializeAsPlaceholder, setInternalSetting, setNonTrivialBaseType, toString, willSuppressNulls, wouldConflictWithName
findAnnotation
findAliases, findFormatOverrides, findPropertyFormat, findPropertyInclusion, getMetadata, isRequired, isVirtual
protected final Object _empty
protected Jdk8OptionalBeanPropertyWriter(BeanPropertyWriter base, Object empty)
protected Jdk8OptionalBeanPropertyWriter(Jdk8OptionalBeanPropertyWriter base, PropertyName newName)
protected BeanPropertyWriter _new(PropertyName newName)
BeanPropertyWriter
_new
in class BeanPropertyWriter
public BeanPropertyWriter unwrappingWriter(NameTransformer unwrapper)
BeanPropertyWriter
unwrappingWriter
in class BeanPropertyWriter
public void serializeAsField(Object bean, JsonGenerator g, SerializerProvider prov) throws Exception
BeanPropertyWriter
serializeAsField
in class BeanPropertyWriter
Exception
Copyright © 2019 JBoss by Red Hat. All rights reserved.