com.alibaba.fastjson.serializer
Class SimplePropertyPreFilter
java.lang.Object
com.alibaba.fastjson.serializer.SimplePropertyPreFilter
- All Implemented Interfaces:
- PropertyPreFilter, SerializeFilter
public class SimplePropertyPreFilter
- extends Object
- implements PropertyPreFilter
SimplePropertyPreFilter
public SimplePropertyPreFilter(String... properties)
SimplePropertyPreFilter
public SimplePropertyPreFilter(Class<?> clazz,
String... properties)
getClazz
public Class<?> getClazz()
getIncludes
public Set<String> getIncludes()
getExcludes
public Set<String> getExcludes()
apply
public boolean apply(JSONSerializer serializer,
Object source,
String name)
- Specified by:
apply
in interface PropertyPreFilter
Copyright © 2012
Alibaba Group. All Rights Reserved.