|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SimpleAnnotation | |
|---|---|
| gate | This package contains the public interface to the GATE Java API. |
| gate.annotation | |
| Uses of SimpleAnnotation in gate |
|---|
| Subinterfaces of SimpleAnnotation in gate | |
|---|---|
interface |
Annotation
An Annotation is an arc in an AnnotationSet. |
| Methods in gate with parameters of type SimpleAnnotation | |
|---|---|
static DocumentContent |
Utils.contentFor(SimpleDocument doc,
SimpleAnnotation ann)
Return the DocumentContent corresponding to the annotation. |
static Long |
Utils.end(SimpleAnnotation a)
Get the end offset of an annotation. |
static int |
Utils.length(SimpleAnnotation ann)
Return the length of the document content covered by an Annotation as an int -- if the content is too long for an int, the method will throw a GateRuntimeException. |
static long |
Utils.lengthLong(SimpleAnnotation ann)
Return the length of the document content covered by an Annotation as a long. |
static Long |
Utils.start(SimpleAnnotation a)
Get the start offset of an annotation. |
static String |
Utils.stringFor(Document doc,
SimpleAnnotation ann)
Return the document text as a String corresponding to the annotation. |
| Uses of SimpleAnnotation in gate.annotation |
|---|
| Classes in gate.annotation that implement SimpleAnnotation | |
|---|---|
class |
AnnotationImpl
Provides an implementation for the interface gate.Annotation |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||