public class SimplePropertyPreFilter extends Object implements PropertyPreFilter
| Constructor and Description |
|---|
SimplePropertyPreFilter(Class<?> clazz,
String... properties) |
SimplePropertyPreFilter(String... properties) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(JSONSerializer serializer,
Object source,
String name) |
Class<?> |
getClazz() |
Set<String> |
getExcludes() |
Set<String> |
getIncludes() |
int |
getMaxLevel() |
void |
setMaxLevel(int maxLevel) |
public SimplePropertyPreFilter(String... properties)
public int getMaxLevel()
public void setMaxLevel(int maxLevel)
public Class<?> getClazz()
public boolean apply(JSONSerializer serializer, Object source, String name)
apply in interface PropertyPreFilterCopyright © 2023. All rights reserved.