SimplePropertyPreFilter (fastjson 1.1.26 API)

fastjson



com.alibaba.fastjson.serializer Class SimplePropertyPreFilter

java.lang.Object
  extended by com.alibaba.fastjson.serializer.SimplePropertyPreFilter
All Implemented Interfaces:
PropertyPreFilter, SerializeFilter

public class SimplePropertyPreFilter
extends Object
implements PropertyPreFilter


Constructor Summary
 
Method Summary
 boolean
 Class<?>
 Set<String>
 Set<String>
 
Methods inherited from class java.lang.Object
 

Constructor Detail

SimplePropertyPreFilter

public SimplePropertyPreFilter(String... properties)

SimplePropertyPreFilter

public SimplePropertyPreFilter(Class<?> clazz,
                               String... properties)
Method Detail

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.