Uses of Class
org.codehaus.jackson.map.ser.BeanPropertyWriter
Packages that use BeanPropertyWriter
Package
Description
Contains implementation classes of serialization part of
data binding.
Contains implementation classes of serialization part of
data binding.
-
Uses of BeanPropertyWriter in org.codehaus.jackson.map.ser
Fields in org.codehaus.jackson.map.ser declared as BeanPropertyWriterModifier and TypeFieldDescriptionprotected BeanPropertyWriter[]
BeanSerializerBuilder._filteredProperties
Optional array of filtered property writers; if null, no view-based filtering is performed.Fields in org.codehaus.jackson.map.ser with type parameters of type BeanPropertyWriterModifier and TypeFieldDescriptionprotected List<BeanPropertyWriter>
BeanSerializerBuilder._properties
Bean properties, in order of serializationMethods in org.codehaus.jackson.map.ser that return BeanPropertyWriterModifier and TypeMethodDescriptionprotected BeanPropertyWriter
BeanSerializerFactory._constructWriter
(SerializationConfig config, TypeBindings typeContext, PropertyBuilder pb, boolean staticTyping, String name, AnnotatedMember accessor) Secondary helper method for constructingBeanPropertyWriter
for given member (field or method).protected BeanPropertyWriter
PropertyBuilder.buildWriter
(String name, JavaType declaredType, JsonSerializer<Object> ser, TypeSerializer typeSer, TypeSerializer contentTypeSer, AnnotatedMember am, boolean defaultUseStaticTyping) protected BeanPropertyWriter
BeanSerializerFactory.constructFilteredBeanWriter
(BeanPropertyWriter writer, Class<?>[] inViews) Method called to construct a filtered writer, for given view definitions.static BeanPropertyWriter
FilteredBeanPropertyWriter.constructViewBased
(BeanPropertyWriter base, Class<?>[] viewsToIncludeIn) BeanSerializerBuilder.getFilteredProperties()
BeanPropertyWriter.unwrappingWriter()
Method called create an instance that handles details of unwrapping contained value.BeanPropertyWriter.withSerializer
(JsonSerializer<Object> ser) Method that will construct and return a new writer that has same properties as this writer, but uses specified serializer instead of currently configured one (if any).Methods in org.codehaus.jackson.map.ser that return types with arguments of type BeanPropertyWriterModifier and TypeMethodDescriptionBeanSerializerModifier.changeProperties
(SerializationConfig config, BasicBeanDescription beanDesc, List<BeanPropertyWriter> beanProperties) Method called byBeanSerializerFactory
with tentative set of discovered properties.protected List<BeanPropertyWriter>
BeanSerializerFactory.filterBeanProperties
(SerializationConfig config, BasicBeanDescription beanDesc, List<BeanPropertyWriter> props) Overridable method that can filter out properties.protected List<BeanPropertyWriter>
BeanSerializerFactory.findBeanProperties
(SerializationConfig config, BasicBeanDescription beanDesc) Method used to collect all actual serializable properties.BeanSerializerBuilder.getProperties()
BeanSerializerModifier.orderProperties
(SerializationConfig config, BasicBeanDescription beanDesc, List<BeanPropertyWriter> beanProperties) Method called byBeanSerializerFactory
with set of properties to serialize, in default ordering (based on defaults as well as possible type annotations).protected List<BeanPropertyWriter>
BeanSerializerFactory.sortBeanProperties
(SerializationConfig config, BasicBeanDescription beanDesc, List<BeanPropertyWriter> props) Deprecated.Since 1.9 this method does nothing, so there is no benefit from overriding it; it will be removed from 2.0.Methods in org.codehaus.jackson.map.ser with parameters of type BeanPropertyWriterModifier and TypeMethodDescriptionprotected BeanPropertyWriter
BeanSerializerFactory.constructFilteredBeanWriter
(BeanPropertyWriter writer, Class<?>[] inViews) Method called to construct a filtered writer, for given view definitions.static BeanPropertyWriter
FilteredBeanPropertyWriter.constructViewBased
(BeanPropertyWriter base, Class<?>[] viewsToIncludeIn) void
BeanPropertyFilter.serializeAsField
(Object bean, JsonGenerator jgen, SerializerProvider prov, BeanPropertyWriter writer) Method called byBeanSerializer
to let filter decide what to do with given bean property value: the usual choices are to either filter out (i.e.void
BeanSerializerBuilder.setFilteredProperties
(BeanPropertyWriter[] properties) Method parameters in org.codehaus.jackson.map.ser with type arguments of type BeanPropertyWriterModifier and TypeMethodDescriptionBeanSerializerModifier.changeProperties
(SerializationConfig config, BasicBeanDescription beanDesc, List<BeanPropertyWriter> beanProperties) Method called byBeanSerializerFactory
with tentative set of discovered properties.protected List<BeanPropertyWriter>
BeanSerializerFactory.filterBeanProperties
(SerializationConfig config, BasicBeanDescription beanDesc, List<BeanPropertyWriter> props) Overridable method that can filter out properties.BeanSerializerModifier.orderProperties
(SerializationConfig config, BasicBeanDescription beanDesc, List<BeanPropertyWriter> beanProperties) Method called byBeanSerializerFactory
with set of properties to serialize, in default ordering (based on defaults as well as possible type annotations).void
BeanSerializerBuilder.setProperties
(List<BeanPropertyWriter> properties) protected List<BeanPropertyWriter>
BeanSerializerFactory.sortBeanProperties
(SerializationConfig config, BasicBeanDescription beanDesc, List<BeanPropertyWriter> props) Deprecated.Since 1.9 this method does nothing, so there is no benefit from overriding it; it will be removed from 2.0.Constructors in org.codehaus.jackson.map.ser with parameters of type BeanPropertyWriterModifierConstructorDescriptionprotected
"Copy constructor" to be used by filtering sub-classesprotected
BeanPropertyWriter
(BeanPropertyWriter base, JsonSerializer<Object> ser) "Copy constructor" to be used by filtering sub-classesBeanSerializer
(Class<?> rawType, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties, AnyGetterWriter anyGetterWriter, Object filterId) BeanSerializer
(JavaType type, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties, AnyGetterWriter anyGetterWriter, Object filterId) -
Uses of BeanPropertyWriter in org.codehaus.jackson.map.ser.impl
Subclasses of BeanPropertyWriter in org.codehaus.jackson.map.ser.implModifier and TypeClassDescriptionclass
Variant ofBeanPropertyWriter
which will handle unwrapping of JSON Object (including of properties of Object within surrounding JSON object, and not as sub-object).Methods in org.codehaus.jackson.map.ser.impl that return BeanPropertyWriterModifier and TypeMethodDescriptionUnwrappingBeanPropertyWriter.withSerializer
(JsonSerializer<Object> ser) Methods in org.codehaus.jackson.map.ser.impl with parameters of type BeanPropertyWriterModifier and TypeMethodDescriptionvoid
SimpleBeanPropertyFilter.FilterExceptFilter.serializeAsField
(Object bean, JsonGenerator jgen, SerializerProvider provider, BeanPropertyWriter writer) void
SimpleBeanPropertyFilter.SerializeExceptFilter.serializeAsField
(Object bean, JsonGenerator jgen, SerializerProvider provider, BeanPropertyWriter writer) Constructors in org.codehaus.jackson.map.ser.impl with parameters of type BeanPropertyWriterModifierConstructorDescription -
Uses of BeanPropertyWriter in org.codehaus.jackson.map.ser.std
Fields in org.codehaus.jackson.map.ser.std declared as BeanPropertyWriterModifier and TypeFieldDescriptionprotected final BeanPropertyWriter[]
BeanSerializerBase._filteredProps
Optional filters used to suppress output of properties that are only to be included in certain viewsprotected final BeanPropertyWriter[]
BeanSerializerBase._props
Writers used for outputting actual property valuesprotected static final BeanPropertyWriter[]
BeanSerializerBase.NO_PROPS
Constructors in org.codehaus.jackson.map.ser.std with parameters of type BeanPropertyWriterModifierConstructorDescriptionBeanSerializerBase
(Class<?> rawType, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties, AnyGetterWriter anyGetterWriter, Object filterId) protected
BeanSerializerBase
(JavaType type, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties, AnyGetterWriter anyGetterWriter, Object filterId)