Package org.apache.uima.tools.cvd
Class MarkupExtent
java.lang.Object
org.apache.uima.tools.cvd.MarkupExtent
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 Summary
ConstructorDescriptionMarkupExtent
(int start, int end, int markupDepth) Instantiates a new markup extent. -
Method Summary
-
Constructor Details
-
MarkupExtent
public MarkupExtent(int start, int end, int markupDepth) Instantiates a new markup extent.- Parameters:
start
- the startend
- the endmarkupDepth
- 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
-