Web-based responsive document annotation tool
activeannoservice / document.annotation / 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.
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) |
Name | Summary |
---|---|
begin | Inclusive start of spanval begin: Int |
end | Exclusive end of spanval end: Int |
text | val text: String ? |