Package | Description |
---|---|
gate | |
gate.annotation | |
gate.corpora |
Modifier and Type | Method and Description |
---|---|
static DocumentContent |
Utils.contentFor(SimpleDocument doc,
AnnotationSet anns)
Return the DocumentContent covered by the given annotation set.
|
static DocumentContent |
Utils.contentFor(SimpleDocument doc,
SimpleAnnotation ann)
Return the DocumentContent corresponding to the annotation.
|
DocumentContent |
SimpleDocument.getContent() |
DocumentContent |
DocumentContent.getContent(Long start,
Long end)
Return the contents under a particular span.
|
Modifier and Type | Method and Description |
---|---|
void |
Document.edit(Long start,
Long end,
DocumentContent replacement)
Make changes to the document content and adapt affected annotations.
|
void |
SimpleDocument.setContent(DocumentContent newContent)
Set method for the document content
|
Modifier and Type | Method and Description |
---|---|
void |
AnnotationSetImpl.edit(Long start,
Long end,
DocumentContent replacement)
Propagate document content changes to this AnnotationSet.
|
Modifier and Type | Class and Description |
---|---|
class |
DocumentContentImpl
Represents the commonalities between all sorts of document contents.
|
Modifier and Type | Field and Description |
---|---|
protected DocumentContent |
DocumentImpl.content
The content of the document
|
Modifier and Type | Method and Description |
---|---|
DocumentContent |
DocumentImpl.getContent()
The content of the document: a String for text; MPEG for video; etc.
|
DocumentContent |
DocumentContentImpl.getContent(Long start,
Long end) |
Modifier and Type | Method and Description |
---|---|
void |
DocumentImpl.edit(Long start,
Long end,
DocumentContent replacement)
Propagate edit changes to the document content and annotations.
|
void |
DocumentImpl.setContent(DocumentContent content)
Set method for the document content
|
Copyright © 2024 GATE. All rights reserved.