public class PlainTextBlockFilter extends Object implements BlockFilter
Constructor and Description |
---|
PlainTextBlockFilter(Parser plainTextParser,
LinkLabelGenerator linkLabelGenerator) |
Modifier and Type | Method and Description |
---|---|
List<Block> |
filter(Block block)
Filter provided block into zero or more block.
|
public PlainTextBlockFilter(Parser plainTextParser, LinkLabelGenerator linkLabelGenerator)
plainTextParser
- a plain text parser used to transform link labels into plain textlinkLabelGenerator
- generate link label.public List<Block> filter(Block block)
BlockFilter
filter
in interface BlockFilter
block
- the block to filter.Copyright © 2004–2021 XWiki. All rights reserved.