Class AbstractFatherBlock

java.lang.Object
org.apache.maven.doxia.module.confluence.parser.AbstractFatherBlock
All Implemented Interfaces:
Block
Direct Known Subclasses:
BoldBlock, ItalicBlock, ListBlock, ListItemBlock, MonospaceBlock, ParagraphBlock, TableBlock, TableCellBlock, TableCellHeaderBlock, TableRowBlock

public abstract class AbstractFatherBlock extends Object implements Block

Abstract AbstractFatherBlock class.

  • Field Details

  • Constructor Details

    • AbstractFatherBlock

      public AbstractFatherBlock(List<Block> childBlocks)

      Constructor for AbstractFatherBlock.

      Parameters:
      childBlocks - the child blocks.
  • Method Details

    • before

      public abstract void before(Sink sink)

      before.

      Parameters:
      sink - the Sink to receive events.
    • after

      public abstract void after(Sink sink)

      after.

      Parameters:
      sink - the Sink to receive events.
    • traverse

      public void traverse(Sink sink)

      traverse.

      Specified by:
      traverse in interface Block
      Parameters:
      sink - a Sink object.
    • getBlocks

      public List<Block> getBlocks()

      Getter for the field blocks.

      Returns:
      a List object.