Class TokenizedParagraph

  • All Implemented Interfaces:
    TextNode

    public final class TokenizedParagraph
    extends TextContainer
    A TextContainer that can store a tokenized paragraph.
    • Constructor Detail

      • TokenizedParagraph

        public TokenizedParagraph​(List<? extends TextContainer> tokens)
        Create a tokenized paragraph container.
        Parameters:
        tokens - the text elements that make up this paragraph.