gate.creole.namematch
Class AnnotationMatches

java.lang.Object
  |
  +--gate.creole.namematch.AnnotationMatches

class AnnotationMatches
extends Object


Field Summary
private  List matchedAnnots
          a list of matched annotation ids
 
Constructor Summary
(package private) AnnotationMatches()
          constructor
 
Method Summary
(package private)  void addMatchedAnnotId(String matchedId)
          method to add an annotation id into the list of matched annotations
(package private)  boolean containsMatched(String matchedId)
          method to check if an annotation (to me metched) is already in the list of matched annotations
(package private)  List getMatched()
          return the list with matches
(package private)  int howMany()
          the size of the matches list
(package private)  String matchedAnnotAt(int i)
          get the element i from the matches list
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

matchedAnnots

private List matchedAnnots
a list of matched annotation ids
Constructor Detail

AnnotationMatches

AnnotationMatches()
constructor
Method Detail

addMatchedAnnotId

void addMatchedAnnotId(String matchedId)
method to add an annotation id into the list of matched annotations

containsMatched

boolean containsMatched(String matchedId)
method to check if an annotation (to me metched) is already in the list of matched annotations

getMatched

List getMatched()
return the list with matches

howMany

int howMany()
the size of the matches list

matchedAnnotAt

String matchedAnnotAt(int i)
get the element i from the matches list