Package org.xwiki.rendering.block
Class CompositeBlock
- java.lang.Object
-
- org.xwiki.rendering.block.AbstractBlock
-
- org.xwiki.rendering.block.CompositeBlock
-
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 aBlock
.- Since:
- 4.3M1
- Version:
- $Id: 1978bea9e3d6d31d040160a20f42effdfbd7dc4b $
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.xwiki.rendering.block.Block
Block.Axes
-
-
Field Summary
-
Fields inherited from interface org.xwiki.rendering.block.Block
LIST_BLOCK_TYPE
-
-
Constructor Summary
Constructors Constructor Description CompositeBlock()
Create an empty composite block with no children.CompositeBlock(List<Block> blocks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
-
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, indexOf, insertChildAfter, insertChildBefore, removeBlock, replaceChild, replaceChild, setChildren, setNextSiblingBlock, setParameter, setParameters, setParent, setPreviousSiblingBlock, traverse
-
-
-
-
Constructor Detail
-
CompositeBlock
public CompositeBlock()
Create an empty composite block with no children. This is useful when the user wants to callAbstractBlock.addChild(Block)
manually for adding children one by one after the block is constructed.
-
-