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: BlockFilter.java 18000 2009-03-25 13:01:01Z tmortagne $

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

Method Detail

filter

java.util.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-2011 XWiki. All Rights Reserved.