Class MarkupExtent


  • public class MarkupExtent
    extends Object
    Represents an element in a list of markup extents. Knows about the length of the extent, as well as the depth of markup. Depth of markup means, how many annotations cover this extent?
    • Constructor Detail

      • MarkupExtent

        public MarkupExtent​(int start,
                            int end,
                            int markupDepth)
    • Method Detail

      • getLength

        public int getLength()
      • getMarkupDepth

        public int getMarkupDepth()
      • getEnd

        public int getEnd()
        Returns:
        int
      • getStart

        public int getStart()
        Returns:
        int