Class TextSpanSelection

    • Constructor Detail

      • TextSpanSelection

        public TextSpanSelection​(TextSpanElement spanElement,
                                 List<Integer> startPosition)
        Constructor.
        Parameters:
        spanElement - the spanElement of the Span element.
        startPosition - the startPosition of the Span element.
      • TextSpanSelection

        public TextSpanSelection​(TextSpanElement spanElement,
                                 List<Integer> startPosition,
                                 List<Integer> endPosition)
        Constructor.
        Parameters:
        spanElement - the spanElement of the Span element.
        startPosition - the startPosition of the Span element.
    • Method Detail

      • getSpanElement

        public TextSpanElement getSpanElement()
        Returns the spanElement of the Span element.
        Returns:
        the spanElement of the Span element.