Class SimpleBeanPropertyFilter.SerializeExceptFilter
- java.lang.Object
-
- com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter
-
- com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter.SerializeExceptFilter
-
- All Implemented Interfaces:
BeanPropertyFilter
,PropertyFilter
,java.io.Serializable
- Enclosing class:
- SimpleBeanPropertyFilter
public static class SimpleBeanPropertyFilter.SerializeExceptFilter extends SimpleBeanPropertyFilter implements java.io.Serializable
Filter implementation which defaults to serializing all properties, except for ones explicitly listed to be filtered out.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter
SimpleBeanPropertyFilter.FilterExceptFilter, SimpleBeanPropertyFilter.SerializeExceptFilter
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Set<java.lang.String>
_propertiesToExclude
Set of property names to filter out.
-
Constructor Summary
Constructors Constructor Description SerializeExceptFilter(java.util.Set<java.lang.String> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
include(BeanPropertyWriter writer)
Method called to determine whether property will be included (if 'true' returned) or filtered out (if 'false' returned)protected boolean
include(PropertyWriter writer)
Method called to determine whether property will be included (if 'true' returned) or filtered out (if 'false' returned)-
Methods inherited from class com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter
depositSchemaProperty, depositSchemaProperty, depositSchemaProperty, depositSchemaProperty, filterOutAllExcept, filterOutAllExcept, from, includeElement, serializeAll, serializeAll, serializeAllExcept, serializeAllExcept, serializeAsElement, serializeAsField, serializeAsField
-
-
-
-
Method Detail
-
include
protected boolean include(BeanPropertyWriter writer)
Description copied from class:SimpleBeanPropertyFilter
Method called to determine whether property will be included (if 'true' returned) or filtered out (if 'false' returned)- Overrides:
include
in classSimpleBeanPropertyFilter
-
include
protected boolean include(PropertyWriter writer)
Description copied from class:SimpleBeanPropertyFilter
Method called to determine whether property will be included (if 'true' returned) or filtered out (if 'false' returned)- Overrides:
include
in classSimpleBeanPropertyFilter
-
-