@@ -0,0 +1,1688 @@
+/*%0A * Copyright (C) 2008 feilong%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *         http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage com.feilong.core.tools.jsonlib.propertyFilter;%0A%0Aimport net.sf.json.util.PropertyFilter;%0A%0Aimport com.feilong.core.util.ArrayUtil;%0A%0A/**%0A * The Class ArrayContainsPropertyFilter.%0A *%0A * @author feilong%0A * @version 1.2.2 2015%E5%B9%B47%E6%9C%8810%E6%97%A5 %E4%B8%8B%E5%8D%887:13:28%0A * @since 1.2.2%0A */%0Apublic class ArrayContainsPropertyNamesPropertyFilter implements PropertyFilter%7B%0A%0A    /** The property names. */%0A    private final String%5B%5D propertyNames;%0A%0A    /**%0A     * The Constructor.%0A     *%0A     * @param propertyNames%0A     *            the property names%0A     */%0A    public ArrayContainsPropertyNamesPropertyFilter(String...propertyNames)%7B%0A        this.propertyNames = propertyNames;%0A    %7D%0A%0A    /*%0A     * (non-Javadoc)%0A     * %0A     * @see net.sf.json.util.PropertyFilter#apply(java.lang.Object, java.lang.String, java.lang.Object)%0A     */%0A    @Override%0A    public boolean apply(Object source,String name,Object value)%7B%0A        // %5Bsource%5D the owner of the property%0A        // %5Bname%5D the name of the property%0A        // %5Bvalue%5D the value of the property%0A        return !ArrayUtil.isContain(propertyNames, name);%0A    %7D%0A%7D%0A

add ArrayContainsPropertyNamesPropertyFilter