org.xwiki.rendering.renderer
Interface BlockRenderer


@ComponentRole
public interface BlockRenderer

Renders a Block in some target syntax.

Since:
2.0M3
Version:
$Id: cd87bfb9ada28ffcad853d5d9f4bc03df4bb5521 $

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.