ActiveAnno

Web-based responsive document annotation tool

View the Project on GitHub MaxMello/ActiveAnno

activeannoservice / document.annotation / Span

Span

data class Span

A span is a single piece of a string, expressed by begin and end.

When reading annotations, you can either extract the referenced substring by using the begin and end values, or use the copy of the substring text directly.

Constructors

Name Summary
<init> A span is a single piece of a string, expressed by begin and end.Span(begin: Int, end: Int, text: String? = null)

Properties

Name Summary
begin Inclusive start of spanval begin: Int
end Exclusive end of spanval end: Int
text val text: String?