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>_propertiesToExcludeSet of property names to filter out.(package private) static SimpleBeanPropertyFilter.SerializeExceptFilterINCLUDE_ALLprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description SerializeExceptFilter()SerializeExceptFilter(java.util.Set<java.lang.String> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter
depositSchemaProperty, depositSchemaProperty, depositSchemaProperty, depositSchemaProperty, filterOutAllExcept, filterOutAllExcept, from, includeElement, serializeAll, serializeAll, serializeAllExcept, serializeAllExcept, serializeAsElement, serializeAsField, serializeAsField
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
INCLUDE_ALL
static final SimpleBeanPropertyFilter.SerializeExceptFilter INCLUDE_ALL
-
_propertiesToExclude
protected final java.util.Set<java.lang.String> _propertiesToExclude
Set of property names to filter out.
-
-
Method Detail
-
include
protected boolean include(BeanPropertyWriter writer)
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
protected boolean include(PropertyWriter writer)
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
-
-