Class Sequence

All Implemented Interfaces:
ContentLogger, Serializable
Direct Known Subclasses:
List, Paragraph

public class Sequence extends AbstractSequenceContent implements ContentLogger

A sequence is a list of items. Every contained item is rendered one after the other. Usually the contained items are paragraphs or more complex contents.

See Also:
  • Constructor Details

    • Sequence

      public Sequence(String idPrefix, WhiteSpace whiteSpace, Content... initialItems)
      Initialize as a collection with a few starting items added.
      Parameters:
      idPrefix - an optional id prefix
      whiteSpace - the white space specification
      initialItems - initial items that are added to the end of the collection.
    • Sequence

      public Sequence(String idPrefix, Content... initialItems)
      Initialize as a collection with a few starting items added.
      Parameters:
      idPrefix - an optional id prefix
      initialItems - initial items that are added to the end of the collection.
    • Sequence

      public Sequence(Content... initialItems)
      Initialize as a collection with a few starting items added.
      Parameters:
      initialItems - initial items that are added to the end of the collection.
    • Sequence

      public Sequence(WhiteSpace whiteSpace, Content... initialItems)
      Initialize as a collection with a few starting items added.
      Parameters:
      whiteSpace - the white space specification
      initialItems - initial items that are added to the end of the collection.
  • Method Details