All Known Implementing Classes:
AbstractFatherBlock, AnchorBlock, BoldBlock, HorizontalRuleBlock, ImageBlock, ItalicBlock, LinkBlock, ListBlock, ListItemBlock, MonospaceBlock, NopBlock, NumeratedListBlock, ParagraphBlock, SectionBlock, TableBlock, TableCellBlock, TableCellHeaderBlock, TableRowBlock, TextBlock, UnorderedListBlock, VerbatimBlock, WikiWordBlock, XHTMLBlock

public interface Block

Document object model: we parse the document to a bunch of these.

Implementators should implement equals() and hashCode() to ease testing

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    traverse(Sink sink)
    Traverse the block
  • Method Details

    • traverse

      void traverse(Sink sink)
      Traverse the block
      Parameters:
      sink - the sink that travers