Package net.sf.json.filters
Class NotPropertyFilter
- java.lang.Object
-
- net.sf.json.filters.NotPropertyFilter
-
- All Implemented Interfaces:
PropertyFilter
public class NotPropertyFilter extends java.lang.Object implements PropertyFilter
-
-
Field Summary
Fields Modifier and Type Field Description private PropertyFilterfilter
-
Constructor Summary
Constructors Constructor Description NotPropertyFilter(PropertyFilter filter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapply(java.lang.Object source, java.lang.String name, java.lang.Object value)
-
-
-
Field Detail
-
filter
private PropertyFilter filter
-
-
Constructor Detail
-
NotPropertyFilter
public NotPropertyFilter(PropertyFilter filter)
-
-
Method Detail
-
apply
public boolean apply(java.lang.Object source, java.lang.String name, java.lang.Object value)- Specified by:
applyin 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
-
-