Module tools.jackson.databind
Package tools.jackson.databind.ser.std
Class SimpleBeanPropertyFilter.FilterExceptFilter
java.lang.Object
tools.jackson.databind.ser.std.SimpleBeanPropertyFilter
tools.jackson.databind.ser.std.SimpleBeanPropertyFilter.FilterExceptFilter
- All Implemented Interfaces:
Serializable,Snapshottable<PropertyFilter>,PropertyFilter
- Enclosing class:
- SimpleBeanPropertyFilter
public static class SimpleBeanPropertyFilter.FilterExceptFilter
extends SimpleBeanPropertyFilter
implements Serializable
Filter implementation which defaults to filtering out unknown
properties and only serializes ones explicitly listed.
- 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 serialize. -
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
-
_propertiesToInclude
Set of property names to serialize.
-
-
Constructor Details
-
FilterExceptFilter
-
-
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
-