|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgate.gui.teamware.TeamwareUtils
public class TeamwareUtils
Class containing utility methods for GATE teamware.
| Field Summary | |
|---|---|
static String |
INPUT_ANNOTATION_SETS_FEATURE
|
static String |
OUTPUT_ANNOTATION_SETS_FEATURE
|
| Constructor Summary | |
|---|---|
private |
TeamwareUtils()
Private constructor - this class should not be instantiated. |
| Method Summary | |
|---|---|
static Set<String> |
getInputAnnotationSets(Controller c)
Get the set of annotation set names that an application requires for input. |
static Set<String> |
getLikelyInputAnnotationSets(Controller c)
Analyse the given controller and return a list of likely candidate input annotation sets. |
static Set<String> |
getLikelyOutputAnnotationSets(Controller c)
Analyse the given controller and return a list of likely candidate output annotation sets. |
static Set<String> |
getOutputAnnotationSets(Controller c)
Get the set of annotation set names that an application uses for output. |
private static void |
populateInputSetNamesForController(Set<String> setNames,
Controller c,
boolean strict)
Populate the set of input annotation set names for a controller based on heuristics. |
private static void |
populateOutputSetNamesForController(Set<String> setNames,
Controller c,
boolean strict)
Populate the set of output annotation set names for a controller based on heuristics. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String INPUT_ANNOTATION_SETS_FEATURE
public static final String OUTPUT_ANNOTATION_SETS_FEATURE
| Constructor Detail |
|---|
private TeamwareUtils()
| Method Detail |
|---|
public static Set<String> getInputAnnotationSets(Controller c)
null entry (denoting the default
annotation set).
public static Set<String> getLikelyInputAnnotationSets(Controller c)
null entry, denoting the default
annotation set.
private static void populateInputSetNamesForController(Set<String> setNames,
Controller c,
boolean strict)
setNames - c - strict - public static Set<String> getOutputAnnotationSets(Controller c)
null entry (denoting the default
annotation set).
public static Set<String> getLikelyOutputAnnotationSets(Controller c)
null entry, denoting the
default annotation set.
private static void populateOutputSetNamesForController(Set<String> setNames,
Controller c,
boolean strict)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||