org.xwiki.rendering.block
Class CompositeBlock
java.lang.Object
org.xwiki.rendering.block.AbstractBlock
org.xwiki.rendering.block.CompositeBlock
- All Implemented Interfaces:
- Cloneable, Block
public class CompositeBlock
- extends AbstractBlock
This block itself does not have any meaning (it does not have any corresponding rendering stream event) and is just
here to pass together several Blocks to a method or as a return value as a Block.
- Since:
- 4.3M1
- Version:
- $Id: 8705a46d32af56f89a22d4e8d7e5cbe5eb4e4558 $
| Nested classes/interfaces inherited from interface org.xwiki.rendering.block.Block |
Block.Axes |
| Methods inherited from class org.xwiki.rendering.block.AbstractBlock |
addChild, addChildren, after, before, clone, clone, equals, getBlocks, getChildren, getFirstBlock, getNextSibling, getParameter, getParameters, getParent, getPreviousSibling, getRoot, hashCode, insertChildAfter, insertChildBefore, removeBlock, replaceChild, replaceChild, setChildren, setNextSiblingBlock, setParameter, setParameters, setParent, setPreviousSiblingBlock, traverse |
CompositeBlock
public CompositeBlock()
- Create an empty composite block with no children. This is useful when the user wants to call
AbstractBlock.addChild(Block) manually for adding children one by one after the block is constructed.
CompositeBlock
public CompositeBlock(List<Block> blocks)
- Parameters:
blocks - the blocks
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2004–2015 XWiki. All rights reserved.