Interface Block

All Known Implementing Classes:
Break, CodeBlock, CommentBlock, Heading, ImageBlock, MacroBlock, OpenBlock, OrderedList, Paragraph, QuoteBlock, Table, UnorderedList

Marker interface for document blocks.

Each block reports its content size via size().

  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the content size of this block.
  • Method Details

    • size

      int size()
      Returns the content size of this block.
      Returns:
      the number of content units in this block