public class AttributePropertyWriter extends VirtualBeanPropertyWriter
VirtualBeanPropertyWriter implementation used for
JsonAppend,
to serialize properties backed-by dynamically assignable attribute
values.BeanProperty.Bogus, BeanProperty.StdMARKER_FOR_EMPTYEMPTY_FORMAT, EMPTY_INCLUDE| Modifier and Type | Method and Description |
|---|---|
static AttributePropertyWriter |
construct(java.lang.String attrName,
BeanPropertyDefinition propDef,
Annotations contextAnnotations,
JavaType declaredType) |
VirtualBeanPropertyWriter |
withConfig(MapperConfig<?> config,
AnnotatedClass declaringClass,
BeanPropertyDefinition propDef,
JavaType type)
Since this method should typically not be called on this sub-type,
default implementation simply throws an
IllegalStateException. |
isVirtual, serializeAsElement, serializeAsFieldassignNullSerializer, 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, serializeAsOmittedField, serializeAsPlaceholder, setInternalSetting, setNonTrivialBaseType, toString, unwrappingWriter, willSuppressNulls, wouldConflictWithNamefindAnnotationfindAliases, findFormatOverrides, findPropertyFormat, findPropertyInclusion, getMetadata, isRequiredpublic static AttributePropertyWriter construct(java.lang.String attrName, BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType)
public VirtualBeanPropertyWriter withConfig(MapperConfig<?> config, AnnotatedClass declaringClass, BeanPropertyDefinition propDef, JavaType type)
IllegalStateException.withConfig in class VirtualBeanPropertyWriterconfig - Currenct configuration; guaranteed to be SerializationConfig
(just not typed since caller does not have dependency to serialization-specific types)declaringClass - Class that contains this property writerpropDef - Nominal property definition to usetype - Declared type for the propertyCopyright © 2010 - 2023 Adobe. All Rights Reserved