Class TokenizedText

  • All Implemented Interfaces:
    TextNode

    public final class TokenizedText
    extends TextContainer
    A TextContainer that can store a tokenized document.
    • Constructor Detail

      • TokenizedText

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