public class SimpleFilter extends Object implements FieldTransformer
FieldTransformer.DefaultImpl, FieldTransformer.FieldInfoorg.jsonex.core.type.Func._3<P1,P2,P3,R>, org.jsonex.core.type.Func._4<P1,P2,P3,P4,R>, org.jsonex.core.type.Func._5<P1,P2,P3,P4,P5,R>, org.jsonex.core.type.Func._6<P1,P2,P3,P4,P5,P6,R>, org.jsonex.core.type.Func._7<P1,P2,P3,P4,P5,P6,P7,R>it| Constructor and Description |
|---|
SimpleFilter() |
| Modifier and Type | Method and Description |
|---|---|
SimpleFilter |
addProperties(String... props) |
FieldTransformer.FieldInfo |
apply(Object o,
org.jsonex.core.util.BeanProperty property,
BeanCoderContext beanCoderContext)
Return null, means no transformation, the caller will continue to call next filter.
|
static SimpleFilter |
exclude(String... props) |
static SimpleFilter |
include(String... props) |
static SimpleFilter |
of() |
SimpleFilter |
removeProperties(String... props) |
public static SimpleFilter of()
public static SimpleFilter exclude(String... props)
public static SimpleFilter include(String... props)
public SimpleFilter addProperties(String... props)
public SimpleFilter removeProperties(String... props)
public FieldTransformer.FieldInfo apply(Object o, org.jsonex.core.util.BeanProperty property, BeanCoderContext beanCoderContext)
FieldTransformerapply in interface org.jsonex.core.type.Func._3<Object,org.jsonex.core.util.BeanProperty,BeanCoderContext,FieldTransformer.FieldInfo>apply in interface FieldTransformerCopyright © 2021. All rights reserved.