Interface Span

  • All Known Subinterfaces:
    LinkSpan

    public interface Span
    A reference to a piece of the input text, either a link (see LinkSpan) or plain text.
    • Method Detail

      • getBeginIndex

        int getBeginIndex()
        Returns:
        begin index (inclusive) in the original input that this link starts at
      • getEndIndex

        int getEndIndex()
        Returns:
        end index (exclusive) in the original input that this link ends at; in other words, index of first character after link