net.sf.json.filters
Class TruePropertyFilter
java.lang.Object
net.sf.json.filters.TruePropertyFilter
- All Implemented Interfaces:
- PropertyFilter
public class TruePropertyFilter
- extends Object
- implements PropertyFilter
- Author:
- Andres Almiray
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TruePropertyFilter
public TruePropertyFilter()
apply
public boolean apply(Object source,
String name,
Object value)
- Specified by:
apply
in interface PropertyFilter
- 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