Package net.sf.json.filters
Class MappingPropertyFilter
java.lang.Object
net.sf.json.filters.MappingPropertyFilter
- All Implemented Interfaces:
PropertyFilter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPropertyFilter
(Object target, PropertyFilter filter) boolean
protected abstract boolean
keyMatches
(Object key, Object source, String name, Object value) void
removePropertyFilter
(Object target)
-
Field Details
-
filters
-
-
Constructor Details
-
MappingPropertyFilter
public MappingPropertyFilter() -
MappingPropertyFilter
-
-
Method Details
-
addPropertyFilter
-
apply
- 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
-
removePropertyFilter
-
keyMatches
-