Package org.xwiki.filter
Interface FilterDescriptorManager
-
@Role public interface FilterDescriptorManager
ManagerFilterDescriptor
related to classes.- Since:
- 5.2M1
- Version:
- $Id: 1661adc427929525aaf6cc5053df02c42abc6d5b $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <F> F
createCompositeFilter(ClassLoader loader, Object... filters)
Helper for input module taking care of calling the right event when it exist, fallback onUnknownFilter
or simply ignores it when the filter does not support it.<F> F
createCompositeFilter(Object... filters)
Helper for input module taking care of calling the right event when it exist, fallback onUnknownFilter
or simply ignores it when the filter does not support it.<F> F
createFilterProxy(Object targetFilter, Class<?>... interfaces)
Helper for input module taking care of calling the right event when it exist, fallback onUnknownFilter
or simply ignores it when the filter does not support it.<F> F
createFilterProxy(Object targetFilter, ClassLoader loader, Class<?>... interfaces)
Helper for input module taking care of calling the right event when it exist, fallback onUnknownFilter
or simply ignores it when the filter does not support it.FilterDescriptor
getFilterDescriptor(Class<?>... interfaces)
-
-
-
Method Detail
-
getFilterDescriptor
FilterDescriptor getFilterDescriptor(Class<?>... interfaces)
- Parameters:
interfaces
- the interfaces implemented by the filter- Returns:
- the filter descriptor
- Since:
- 5.2
-
createFilterProxy
<F> F createFilterProxy(Object targetFilter, Class<?>... interfaces)
Helper for input module taking care of calling the right event when it exist, fallback onUnknownFilter
or simply ignores it when the filter does not support it.- Type Parameters:
F
- the class of the filter- Parameters:
interfaces
- the interfaces implemented by the filtertargetFilter
- the actual filter to send events to- Returns:
- the filter proxy
- Since:
- 5.2
-
createFilterProxy
<F> F createFilterProxy(Object targetFilter, ClassLoader loader, Class<?>... interfaces)
Helper for input module taking care of calling the right event when it exist, fallback onUnknownFilter
or simply ignores it when the filter does not support it.- Type Parameters:
F
- the class of the filter- Parameters:
interfaces
- the interfaces implemented by the filterloader
- the class loader to define the proxy classtargetFilter
- the actual filter to send events to- Returns:
- the filter proxy
- Since:
- 5.2M3
-
createCompositeFilter
<F> F createCompositeFilter(Object... filters)
Helper for input module taking care of calling the right event when it exist, fallback onUnknownFilter
or simply ignores it when the filter does not support it.- Type Parameters:
F
- the class of the filter- Parameters:
filters
- the actual filters to send events to- Returns:
- the filter proxy
- Since:
- 5.2
-
createCompositeFilter
<F> F createCompositeFilter(ClassLoader loader, Object... filters)
Helper for input module taking care of calling the right event when it exist, fallback onUnknownFilter
or simply ignores it when the filter does not support it.- Type Parameters:
F
- the class of the filter- Parameters:
filters
- the actual filters to send events toloader
- the class loader to define the proxy class- Returns:
- the filter proxy
- Since:
- 5.2M3
-
-