public class Jdk8UnwrappingOptionalBeanPropertyWriter extends UnwrappingBeanPropertyWriter
BeanProperty.Bogus, BeanProperty.Std| Modifier and Type | Field and Description |
|---|---|
protected Object |
_empty |
_nameTransformer_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 |
|---|---|
|
Jdk8UnwrappingOptionalBeanPropertyWriter(BeanPropertyWriter base,
NameTransformer transformer,
Object empty) |
protected |
Jdk8UnwrappingOptionalBeanPropertyWriter(Jdk8UnwrappingOptionalBeanPropertyWriter base,
NameTransformer transformer,
SerializedString name) |
| Modifier and Type | Method and Description |
|---|---|
protected UnwrappingBeanPropertyWriter |
_new(NameTransformer transformer,
SerializedString newName)
Overridable factory method used by sub-classes
|
void |
serializeAsField(Object bean,
JsonGenerator gen,
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.
|
_depositSchemaProperty, _findAndAddDynamic, assignSerializer, depositSchemaProperty, isUnwrapping, rename_handleSelfReference, _new, assignNullSerializer, assignTypeSerializer, depositSchemaProperty, fixAccess, get, getAnnotation, getContextAnnotation, getFullName, getGenericPropertyType, getInternalSetting, getMember, getName, getPropertyType, getRawSerializationType, getSerializationType, getSerializedName, getSerializer, getType, getTypeSerializer, getViews, getWrapperName, hasNullSerializer, hasSerializer, removeInternalSetting, serializeAsElement, serializeAsOmittedField, serializeAsPlaceholder, setInternalSetting, setNonTrivialBaseType, toString, unwrappingWriter, willSuppressNulls, wouldConflictWithNamefindAnnotationfindAliases, findFormatOverrides, findPropertyFormat, findPropertyInclusion, getMetadata, isRequired, isVirtualprotected final Object _empty
public Jdk8UnwrappingOptionalBeanPropertyWriter(BeanPropertyWriter base, NameTransformer transformer, Object empty)
protected Jdk8UnwrappingOptionalBeanPropertyWriter(Jdk8UnwrappingOptionalBeanPropertyWriter base, NameTransformer transformer, SerializedString name)
protected UnwrappingBeanPropertyWriter _new(NameTransformer transformer, SerializedString newName)
UnwrappingBeanPropertyWriter_new in class UnwrappingBeanPropertyWriterpublic void serializeAsField(Object bean, JsonGenerator gen, SerializerProvider prov) throws Exception
BeanPropertyWriterserializeAsField in class UnwrappingBeanPropertyWriterExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.