Class MarkupExtent

java.lang.Object
org.apache.uima.tools.cvd.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 Details

    • MarkupExtent

      public MarkupExtent(int start, int end, int markupDepth)
      Instantiates a new markup extent.
      Parameters:
      start - the start
      end - the end
      markupDepth - the markup depth
  • Method Details

    • getLength

      public int getLength()
      Gets the length.
      Returns:
      the length
    • getMarkupDepth

      public int getMarkupDepth()
      Gets the markup depth.
      Returns:
      the markup depth
    • getEnd

      public int getEnd()
      Gets the end.
      Returns:
      int
    • getStart

      public int getStart()
      Gets the start.
      Returns:
      int