|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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 |
public static final String DOCUMENT_URL_PARAMETER_NAME
| Method Detail |
public URL getSourceUrl()
public void setSourceUrl(URL sourceUrl)
public DocumentContent getContent()
public void setContent(DocumentContent newContent)
public AnnotationSet getAnnotations()
public AnnotationSet getAnnotations(String name)
public Set getAnnotationSetNames()
public void removeAnnotationSet(String name)
name - the name of the annotation set to be removed
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||