Class SimpleFilter
- java.lang.Object
-
- org.jsonex.jsoncoder.fieldTransformer.SimpleFilter
-
- All Implemented Interfaces:
BiFunction<FieldTransformer.FieldInfo,BeanCoderContext,FieldTransformer.FieldInfo>,FieldTransformer
public class SimpleFilter extends Object implements FieldTransformer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jsonex.jsoncoder.fieldTransformer.FieldTransformer
FieldTransformer.FieldInfo
-
-
Constructor Summary
Constructors Constructor Description SimpleFilter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleFilteraddProperties(String... props)static SimpleFilterof()SimpleFilterremoveProperties(String... props)booleanshouldInclude(String name, BeanCoderContext beanCoderContext)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.function.BiFunction
andThen
-
Methods inherited from interface org.jsonex.jsoncoder.fieldTransformer.FieldTransformer
apply
-
-
-
-
Method Detail
-
of
public static SimpleFilter of()
-
addProperties
public SimpleFilter addProperties(String... props)
-
removeProperties
public SimpleFilter removeProperties(String... props)
-
shouldInclude
public boolean shouldInclude(String name, BeanCoderContext beanCoderContext)
- Specified by:
shouldIncludein interfaceFieldTransformer
-
-