org.xwiki.rendering.block
Class PlainTextBlockFilter
java.lang.Object
org.xwiki.rendering.block.PlainTextBlockFilter
- All Implemented Interfaces:
- BlockFilter
public class PlainTextBlockFilter
- extends Object
- implements BlockFilter
Used to filter plain text blocks.
- Since:
- 1.9M1
- Version:
- $Id$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlainTextBlockFilter
public PlainTextBlockFilter(Parser plainTextParser,
LinkLabelGenerator linkLabelGenerator)
- Parameters:
plainTextParser - a plain text parser used to transform link labels into plain textlinkLabelGenerator - generate link label.- Since:
- 2.0M3
filter
public List<Block> filter(Block block)
- Description copied from interface:
BlockFilter
- Filter provided block into zero or more block.
- Specified by:
filter in interface BlockFilter
- Parameters:
block - the block to filter.
- Returns:
- should never be null. The filtered blocks or empty list.
Copyright © 2004-2011 XWiki. All Rights Reserved.