Interface GadgetRenderer
-
@Role public interface GadgetRenderer
Decorates the passed gadget and renders it as a full piece of XDOM, a single list of blocks that can be added in the tree after.- Since:
- 3.0rc1
- Version:
- $Id: 07e3518773e5b87d42dea3936214a2c3a7e436c9 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<org.xwiki.rendering.block.Block>
decorateGadget(Gadget gadget)
Decorates the passed gadget and renders it as a list of XDOM blocks.
-
-
-
Method Detail
-
decorateGadget
List<org.xwiki.rendering.block.Block> decorateGadget(Gadget gadget)
Decorates the passed gadget and renders it as a list of XDOM blocks.- Parameters:
gadget
- the gadget to render- Returns:
- the list of blocks resulted from rendering the passed gadget and decorating it (with containers, etc)
-
-