Package org.codehaus.jackson.map.ser
Class FilterProvider
- java.lang.Object
-
- org.codehaus.jackson.map.ser.FilterProvider
-
- Direct Known Subclasses:
SimpleFilterProvider
public abstract class FilterProvider extends java.lang.Object
Interface for objects that providers instances ofBeanPropertyFilter
that match given ids. A provider is configured to be used during serialization, to find filter to used based on id specified byJsonFilter
annotation on bean class.- Since:
- 1.7
-
-
Constructor Summary
Constructors Constructor Description FilterProvider()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract BeanPropertyFilter
findFilter(java.lang.Object filterId)
Lookup method used to findBeanPropertyFilter
that has specified id.
-
-
-
Method Detail
-
findFilter
public abstract BeanPropertyFilter findFilter(java.lang.Object filterId)
Lookup method used to findBeanPropertyFilter
that has specified id. Note that id is typically aString
, but is not necessarily limited to that; that is, while standard components use String, custom implementation can choose other kinds of keys.- Returns:
- Filter registered with specified id, if one defined; null if none found.
-
-