Interface ContentCollection

  • All Superinterfaces:
    BlockBuilder, BlockContentBuilder, FormatterCore

    public interface ContentCollection
    extends FormatterCore
    Provides methods needed to add a content collection to a formatter. Note that adding contents outside of items has no specified meaning and may be ignored by a formatter.
    • Method Detail

      • startItem

        void startItem​(BlockProperties props)
        Starts a new item with the supplied properties. An identifier must be set in the block properties for the item to be referenced.
        Parameters:
        props - the properties
      • endItem

        void endItem()
        Ends the current item.