Module tools.jackson.databind
Package tools.jackson.databind.ser.std
Class SimpleBeanPropertyFilter.SerializeExceptFilter
java.lang.Object
tools.jackson.databind.ser.std.SimpleBeanPropertyFilter
tools.jackson.databind.ser.std.SimpleBeanPropertyFilter.SerializeExceptFilter
- All Implemented Interfaces:
Serializable,Snapshottable<PropertyFilter>,PropertyFilter
- Enclosing class:
- SimpleBeanPropertyFilter
public static class SimpleBeanPropertyFilter.SerializeExceptFilter
extends SimpleBeanPropertyFilter
implements Serializable
Filter implementation which defaults to serializing all
properties, except for ones explicitly listed to be filtered out.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.databind.ser.std.SimpleBeanPropertyFilter
SimpleBeanPropertyFilter.FilterExceptFilter, SimpleBeanPropertyFilter.SerializeExceptFilter -
Field Summary
FieldsModifier and TypeFieldDescriptionSet of property names to filter out. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleaninclude(BeanPropertyWriter writer) Method called to determine whether property will be included (if 'true' returned) or filtered out (if 'false' returned)protected booleaninclude(PropertyWriter writer) Method called to determine whether property will be included (if 'true' returned) or filtered out (if 'false' returned)Methods inherited from class tools.jackson.databind.ser.std.SimpleBeanPropertyFilter
depositSchemaProperty, filterOutAll, filterOutAllExcept, filterOutAllExcept, includeElement, serializeAll, serializeAllExcept, serializeAllExcept, serializeAsElement, serializeAsProperty, snapshot
-
Field Details
-
_propertiesToExclude
Set of property names to filter out.
-
-
Constructor Details
-
SerializeExceptFilter
-
-
Method Details
-
include
Description copied from class:SimpleBeanPropertyFilterMethod called to determine whether property will be included (if 'true' returned) or filtered out (if 'false' returned)- Overrides:
includein classSimpleBeanPropertyFilter
-
include
Description copied from class:SimpleBeanPropertyFilterMethod called to determine whether property will be included (if 'true' returned) or filtered out (if 'false' returned)- Overrides:
includein classSimpleBeanPropertyFilter
-