Interface RawBlockFilter
-
@Role @Unstable public interface RawBlockFilter
Filtering for raw blocks to clean and sanitize raw content.- Since:
- 14.8RC1
- Version:
- $Id: 9ecdf15e716dcf997a532fa2abd32dcad161ce5f $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RawBlock
filter(RawBlock block, RawBlockFilterParameters parameters)
Filter the given block according to the specified parameters.int
getPriority()
The priority defines the order in which the filters will be executed since filters are executed on a block that might have been already transformed by a previous filter.
-
-
-
Method Detail
-
filter
RawBlock filter(RawBlock block, RawBlockFilterParameters parameters) throws MacroExecutionException
Filter the given block according to the specified parameters.- Parameters:
block
- the block to filterparameters
- the filtering parameters- Returns:
- the filtered raw block
- Throws:
MacroExecutionException
- when the filtering failed
-
getPriority
int getPriority()
The priority defines the order in which the filters will be executed since filters are executed on a block that might have been already transformed by a previous filter. The lower the number, the sooner the filter will be executed.- Returns:
- the priority of execution of the filter.
-
-