Uses of Class
org.codehaus.jackson.map.ser.BeanPropertyWriter
-
Packages that use BeanPropertyWriter Package Description org.codehaus.jackson.map.ser Contains implementation classes of serialization part of data binding.org.codehaus.jackson.map.ser.impl Contains implementation classes of serialization part of data binding.org.codehaus.jackson.map.ser.std -
-
Uses of BeanPropertyWriter in org.codehaus.jackson.map.ser
Fields in org.codehaus.jackson.map.ser declared as BeanPropertyWriter Modifier and Type Field Description protected 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 BeanPropertyWriter Modifier and Type Field Description protected List<BeanPropertyWriter>
BeanSerializerBuilder. _properties
Bean properties, in order of serializationMethods in org.codehaus.jackson.map.ser that return BeanPropertyWriter Modifier and Type Method Description protected 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)
BeanPropertyWriter[]
BeanSerializerBuilder. getFilteredProperties()
BeanPropertyWriter
BeanPropertyWriter. unwrappingWriter()
Method called create an instance that handles details of unwrapping contained value.BeanPropertyWriter
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 BeanPropertyWriter Modifier and Type Method Description List<BeanPropertyWriter>
BeanSerializerModifier. 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.List<BeanPropertyWriter>
BeanSerializerBuilder. getProperties()
List<BeanPropertyWriter>
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 BeanPropertyWriter Modifier and Type Method Description 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)
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 BeanPropertyWriter Modifier and Type Method Description List<BeanPropertyWriter>
BeanSerializerModifier. 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.List<BeanPropertyWriter>
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 BeanPropertyWriter Constructor Description BeanPropertyWriter(BeanPropertyWriter base)
"Copy constructor" to be used by filtering sub-classesBeanPropertyWriter(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.impl Modifier and Type Class Description class
UnwrappingBeanPropertyWriter
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 BeanPropertyWriter Modifier and Type Method Description BeanPropertyWriter
UnwrappingBeanPropertyWriter. withSerializer(JsonSerializer<Object> ser)
Methods in org.codehaus.jackson.map.ser.impl with parameters of type BeanPropertyWriter Modifier and Type Method Description void
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 BeanPropertyWriter Constructor Description UnwrappingBeanPropertyWriter(BeanPropertyWriter base)
UnwrappingBeanPropertyWriter(BeanPropertyWriter base, JsonSerializer<Object> ser)
-
Uses of BeanPropertyWriter in org.codehaus.jackson.map.ser.std
Fields in org.codehaus.jackson.map.ser.std declared as BeanPropertyWriter Modifier and Type Field Description protected BeanPropertyWriter[]
BeanSerializerBase. _filteredProps
Optional filters used to suppress output of properties that are only to be included in certain viewsprotected BeanPropertyWriter[]
BeanSerializerBase. _props
Writers used for outputting actual property valuesprotected static BeanPropertyWriter[]
BeanSerializerBase. NO_PROPS
Constructors in org.codehaus.jackson.map.ser.std with parameters of type BeanPropertyWriter Constructor Description BeanSerializerBase(Class<?> rawType, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties, AnyGetterWriter anyGetterWriter, Object filterId)
BeanSerializerBase(JavaType type, BeanPropertyWriter[] properties, BeanPropertyWriter[] filteredProperties, AnyGetterWriter anyGetterWriter, Object filterId)
-