Class 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: 1978bea9e3d6d31d040160a20f42effdfbd7dc4b $
    • Constructor Detail

      • 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