Class FilteredBeanPropertyWriter.MultiView
java.lang.Object
tools.jackson.databind.introspect.ConcreteBeanPropertyBase
tools.jackson.databind.ser.PropertyWriter
tools.jackson.databind.ser.BeanPropertyWriter
tools.jackson.databind.ser.impl.FilteredBeanPropertyWriter.MultiView
- All Implemented Interfaces:
tools.jackson.core.util.Named, BeanProperty, FullyNamed
- Enclosing class:
FilteredBeanPropertyWriter
-
Nested Class Summary
Nested classes/interfaces inherited from interface BeanProperty
BeanProperty.Bogus, BeanProperty.StdNested classes/interfaces inherited from interface tools.jackson.core.util.Named
tools.jackson.core.util.Named.StringAsNamed -
Field Summary
FieldsFields inherited from class BeanPropertyWriter
_accessor, _cfgSerializationType, _contextAnnotations, _declaredType, _dynamicSerializers, _includeInViews, _inclusion, _internalSettings, _member, _name, _nonTrivialBaseType, _nullSerializer, _serializer, _suppressableValue, _suppressNulls, _typeSerializer, _wrapperName, MARKER_FOR_EMPTYFields inherited from class ConcreteBeanPropertyBase
_aliases, _metadataFields inherited from interface BeanProperty
EMPTY_FORMAT, EMPTY_INCLUDE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate final booleanvoidassignNullSerializer(ValueSerializer<Object> nullSer) Method called to assign null value serializer for propertyvoidMethod called to assign value serializer for propertyvoidTraversal method used for things like JSON Schema generation, or POJO introspection.rename(NameTransformer transformer) voidserializeAsElement(Object bean, tools.jackson.core.JsonGenerator gen, SerializationContext prov) Alternative toBeanPropertyWriter.serializeAsProperty(Object, JsonGenerator, SerializationContext)that is used when a POJO is serialized as JSON Array (usually when "Shape" is forced as 'Array'): the difference is that no property names are written.voidserializeAsProperty(Object bean, tools.jackson.core.JsonGenerator gen, SerializationContext 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.Methods inherited from class BeanPropertyWriter
_depositSchemaProperty, _findAndAddDynamic, _handleSelfReference, _new, assignTypeSerializer, findPropertyInclusion, fixAccess, get, getAnnotation, getContextAnnotation, getFullName, getInternalSetting, getMember, getName, getSerializationType, getSerializedName, getSerializer, getType, getTypeSerializer, getViews, getWrapperName, hasNullSerializer, hasSerializer, isUnwrapping, removeInternalSetting, serializeAsOmittedElement, serializeAsOmittedProperty, setInternalSetting, setNonTrivialBaseType, toString, unwrappingWriter, willSuppressNulls, wouldConflictWithNameMethods inherited from class PropertyWriter
findAnnotationMethods inherited from class ConcreteBeanPropertyBase
findAliases, findFormatOverrides, findPropertyFormat, getMetadata, isRequired, isVirtualMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface FullyNamed
hasName
-
Field Details
-
_delegate
-
_views
-
-
Constructor Details
-
MultiView
-
-
Method Details
-
rename
- Overrides:
renamein classBeanPropertyWriter
-
assignSerializer
Description copied from class:BeanPropertyWriterMethod called to assign value serializer for property- Overrides:
assignSerializerin classBeanPropertyWriter
-
assignNullSerializer
Description copied from class:BeanPropertyWriterMethod called to assign null value serializer for property- Overrides:
assignNullSerializerin classBeanPropertyWriter
-
serializeAsProperty
public void serializeAsProperty(Object bean, tools.jackson.core.JsonGenerator gen, SerializationContext prov) throws Exception Description copied from class:BeanPropertyWriterMethod 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.- Overrides:
serializeAsPropertyin classBeanPropertyWriter- Throws:
Exception
-
serializeAsElement
public void serializeAsElement(Object bean, tools.jackson.core.JsonGenerator gen, SerializationContext prov) throws Exception Description copied from class:BeanPropertyWriterAlternative toBeanPropertyWriter.serializeAsProperty(Object, JsonGenerator, SerializationContext)that is used when a POJO is serialized as JSON Array (usually when "Shape" is forced as 'Array'): the difference is that no property names are written.- Overrides:
serializeAsElementin classBeanPropertyWriter- Throws:
Exception
-
depositSchemaProperty
Description copied from class:PropertyWriterTraversal method used for things like JSON Schema generation, or POJO introspection.- Specified by:
depositSchemaPropertyin interfaceBeanProperty- Overrides:
depositSchemaPropertyin classBeanPropertyWriter- Parameters:
v- Visitor to used as the callback handler
-
_inView
-