Web-based responsive document annotation tool
activeannoservice / annotationdefinition.target / Target
sealed class Target
The target of an annotation can be the whole document or a specific offset of characters, a span.
| Name | Summary |
|---|---|
| type | abstract val type: TargetType |
| Name | Summary |
|---|---|
| DocumentTarget | Use this for annotations that should be created for the whole document.class DocumentTarget : Target |
| SpanTarget | Use this for annotations that should be created for a specific span. Define characteristics of how the span should be set.data class SpanTarget : Target |