Package org.xwiki.rendering.block
Class PlainTextBlockFilter
java.lang.Object
org.xwiki.rendering.block.PlainTextBlockFilter
- All Implemented Interfaces:
BlockFilter
Used to filter plain text blocks.
- Since:
- 1.9M1
- Version:
- $Id: 30ad554df12b0f5036f076af0291729d805c82c6 $
-
Constructor Summary
ConstructorsConstructorDescriptionPlainTextBlockFilter(Parser plainTextParser, LinkLabelGenerator linkLabelGenerator) -
Method Summary
-
Constructor Details
-
PlainTextBlockFilter
- Parameters:
plainTextParser- a plain text parser used to transform link labels into plain textlinkLabelGenerator- generate link label.- Since:
- 2.0M3
-
-
Method Details
-
filter
Description copied from interface:BlockFilterFilter provided block into zero or more block.- Specified by:
filterin interfaceBlockFilter- Parameters:
block- the block to filter.- Returns:
- should never be null. The filtered blocks or empty list.
-