|
GATE Version 3.1-2270 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SimpleDocument
Represents the commonalities between all sorts of documents.
| Field Summary | |
|---|---|
static String |
DOCUMENT_URL_PARAMETER_NAME
The parameter name for the document URL |
| Method Summary | |
|---|---|
AnnotationSet |
getAnnotations()
Get the default set of annotations. |
AnnotationSet |
getAnnotations(String name)
Get a named set of annotations. |
Set |
getAnnotationSetNames()
Returns a set of all named annotation sets in existence |
DocumentContent |
getContent()
|
URL |
getSourceUrl()
Documents are identified by URLs |
void |
removeAnnotationSet(String name)
Removes one of the named annotation sets. |
void |
setContent(DocumentContent newContent)
Set method for the document content |
void |
setSourceUrl(URL sourceUrl)
Set method for the document's URL |
| Methods inherited from interface gate.LanguageResource |
|---|
getDataStore, getLRPersistenceId, getParent, isModified, setDataStore, setLRPersistenceId, setParent, sync |
| Methods inherited from interface gate.Resource |
|---|
cleanup, getParameterValue, init, setParameterValue, setParameterValues |
| Methods inherited from interface gate.util.FeatureBearer |
|---|
getFeatures, setFeatures |
| Methods inherited from interface gate.util.NameBearer |
|---|
getName, setName |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Field Detail |
|---|
static final String DOCUMENT_URL_PARAMETER_NAME
| Method Detail |
|---|
URL getSourceUrl()
void setSourceUrl(URL sourceUrl)
DocumentContent getContent()
void setContent(DocumentContent newContent)
AnnotationSet getAnnotations()
AnnotationSet getAnnotations(String name)
Set getAnnotationSetNames()
void removeAnnotationSet(String name)
name - the name of the annotation set to be removed
|
GATE Version 3.1-2270 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||