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, _propertyFormatEMPTY_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, wouldConflictWithNamefindAnnotationfindAliases, findFormatOverrides, findPropertyFormat, findPropertyInclusion, getMetadata, isRequired, isVirtualprotected final Object _empty
protected Jdk8OptionalBeanPropertyWriter(BeanPropertyWriter base, Object empty)
protected Jdk8OptionalBeanPropertyWriter(Jdk8OptionalBeanPropertyWriter base, PropertyName newName)
protected BeanPropertyWriter _new(PropertyName newName)
BeanPropertyWriter_new in class BeanPropertyWriterpublic BeanPropertyWriter unwrappingWriter(NameTransformer unwrapper)
BeanPropertyWriterunwrappingWriter in class BeanPropertyWriterpublic void serializeAsField(Object bean, JsonGenerator g, SerializerProvider prov) throws Exception
BeanPropertyWriterserializeAsField in class BeanPropertyWriterExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.