org.xwiki.rendering.block
Interface BlockFilter

All Known Implementing Classes:
PlainTextBlockFilter

public interface BlockFilter

Filter provided block into one or more block.

The block filter is generally called for each block in a block list and is asked to return a filtered version of the provided block. This means:

Since:
1.8RC2
Version:
$Id: a09253e28c6008300a64e806ae4c362f885a1d10 $

Method Summary
 List<Block> filter(Block block)
          Filter provided block into zero or more block.
 

Method Detail

filter

List<Block> filter(Block block)
Filter provided block into zero or more block.

Parameters:
block - the block to filter.
Returns:
should never be null. The filtered blocks or empty list.


Copyright © 2004-2012 XWiki. All Rights Reserved.