Package net.sf.json.filters
Class AndPropertyFilter
- java.lang.Object
-
- net.sf.json.filters.AndPropertyFilter
-
- All Implemented Interfaces:
PropertyFilter
public class AndPropertyFilter extends Object implements PropertyFilter
- Author:
- Andres Almiray
-
-
Constructor Summary
Constructors Constructor Description AndPropertyFilter(PropertyFilter filter1, PropertyFilter filter2)
-
-
-
Constructor Detail
-
AndPropertyFilter
public AndPropertyFilter(PropertyFilter filter1, PropertyFilter filter2)
-
-
Method Detail
-
apply
public boolean apply(Object source, String name, Object value)
- Specified by:
apply
in interfacePropertyFilter
- Parameters:
source
- the owner of the propertyname
- the name of the propertyvalue
- the value of the property- Returns:
- true if the property will be filtered out, false otherwise
-
-