com.alibaba.fastjson.serializer
类 SimplePropertyPreFilter

java.lang.Object
  继承者 com.alibaba.fastjson.serializer.SimplePropertyPreFilter
所有已实现的接口:
PropertyPreFilter, SerializeFilter

public class SimplePropertyPreFilter
extends Object
implements PropertyPreFilter


构造方法摘要
SimplePropertyPreFilter(Class<?> clazz, String... properties)
           
SimplePropertyPreFilter(String... properties)
           
 
方法摘要
 boolean apply(JSONSerializer serializer, Object source, String name)
           
 Class<?> getClazz()
           
 Set<String> getExcludes()
           
 Set<String> getIncludes()
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

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)
指定者:
接口 PropertyPreFilter 中的 apply


Copyright © 2012-2014 Alibaba Group. All Rights Reserved.