Defines the sets of annotations, and their properties, exchanged by Lapps web services. A service on the Lapps Grid must specify the annotations it requires to perform its job, as well as the languages, formats, and character encodings it understands. Each service must also specify the annotations, languages, formats, and character encodings it produces.
| Type | Name and description |
|---|---|
List<String> |
annotationsA list of URI from the Lapps vocabulary specifying the annotation types. |
String |
encodingThe characer encoding, defaults to UTF-8 |
List<String> |
formatA list of URI from the Lapps vocabulary specifying the document format. |
List<String> |
languageA list of ISO language codes. |
Map<String, String> |
tagSetsA map from annotation type URIs to tagset type URIs if a tagset is specified for the annotation |
| Constructor and description |
|---|
IOSpecification
() |
IOSpecification
(Map map) |
| Type | Name and description |
|---|---|
void |
addAnnotation(String annotation) |
void |
addAnnotations(String[] annotation) |
void |
addFormat(String format) |
void |
addFormats(List<String> formats) |
void |
addFormats(String[] formats) |
void |
addLanguage(String language) |
void |
addLanguages(String[] languages) |
void |
addTagSet(String annType, String tagSetType) |
boolean |
equals(Object other) |
boolean |
satisfies(IOSpecification required)Returns true if this IOSpecification satisfies the required IOSpecification. |
A list of URI from the Lapps vocabulary specifying the annotation types.
The characer encoding, defaults to UTF-8
A list of URI from the Lapps vocabulary specifying the document format.
Returns true if this IOSpecification satisfies the required IOSpecification.
An IOSpecification A satisfies another IOSpecification @{code R} iff
A produces a character encoding required by R,A produces a language required by R, A produces a format required by R, andA produces all of the annotations required by Rorg.lappsgrid:metadata:1.4.0