org.xwiki.rendering.renderer
Interface BlockRenderer

All Known Implementing Classes:
AbstractBlockRenderer, EventBlockRenderer, PlainTextBlockRenderer

@ComponentRole
public interface BlockRenderer

Renders a Block in some target syntax.

Since:
2.0M3
Version:
$Id$

Method Summary
 void render(Block block, WikiPrinter printer)
           
 void render(Collection<Block> blocks, WikiPrinter printer)
           
 

Method Detail

render

void render(Block block,
            WikiPrinter printer)
Parameters:
block - the block to render in the target syntax
printer - the object where to output the result of the rendering

render

void render(Collection<Block> blocks,
            WikiPrinter printer)
Parameters:
blocks - the list of blocks to render in the target syntax
printer - the object where to output the result of the rendering


Copyright © 2004-2011 XWiki. All Rights Reserved.