Uses of Interface
gate.Annotation

Packages that use Annotation
gate This package contains the public interface to the GATE Java API. 
gate.annotation   
gate.corpora   
gate.creole   
gate.creole.nerc   
gate.creole.orthomatcher   
gate.creole.orthomatcher.SampleOrthoMatcher   
gate.event   
gate.fsm   
gate.gui   
gate.gui.annedit   
gate.gui.docview   
gate.jape   
gate.jape.constraint   
gate.jape.functest   
gate.util   
gate.util.web   
 

Uses of Annotation in gate
 

Methods in gate that return Annotation
 Annotation SimpleAnnotationSet.get(Integer id)
          Find annotations by id
 Annotation AnnotationGraph.newAnnotation(Long id, long start, long end, String type)
           
 Annotation AnnotationGraph.newAnnotation(Long id, Node start, Node end, String type)
           
 

Methods in gate that return types with arguments of type Annotation
static List<Annotation> Utils.inDocumentOrder(AnnotationSet as)
          Return a List containing the annotations in the given annotation set, in document order (i.e. increasing order of start offset).
 Iterator<Annotation> SimpleAnnotationSet.iterator()
          Get an iterator for this set
 

Methods in gate with parameters of type Annotation
 boolean SimpleAnnotationSet.add(Annotation a)
          Add an existing annotation, which should be an annotation on this set's document.
 boolean Annotation.coextensive(Annotation anAnnot)
          Two Annotation are coestensive if their offsets are the same.
static AnnotationSet Utils.getContainedAnnotations(AnnotationSet sourceAnnotationSet, Annotation containingAnnotation)
          Get all the annotations from the source annotation set that lie within the range of the containing annotation.
static AnnotationSet Utils.getContainedAnnotations(AnnotationSet sourceAnnotationSet, Annotation containingAnnotation, String targetType)
          Get all the annotations of type targetType from the source annotation set that lie within the range of the containing annotation.
 boolean Annotation.isCompatible(Annotation anAnnot)
          This verifies if this annotation is compatible with another one.
 boolean Annotation.isCompatible(Annotation anAnnot, Set aFeatureNamesSet)
          This verifies if this annotation is compatible with another one, given a set with certain keys.
 boolean Annotation.isPartiallyCompatible(Annotation anAnnot)
          This method verifies if two annotation and are partially compatible.
 boolean Annotation.isPartiallyCompatible(Annotation anAnnot, Set aFeatureNamesSet)
          This method verifies if two annotation and are partially compatible, given a set with certain keys.
 boolean Annotation.overlaps(Annotation aAnnot)
          This method determines if this overlaps aAnnot, i.e. if either the beginning or the end (or both) of anAnnot is contained in the span of this.
 boolean Annotation.withinSpanOf(Annotation aAnnot)
          This method tells if this annotation's text range is fully contained within the text annotated by aAnnot's annotation.
 

Method parameters in gate with type arguments of type Annotation
static AnnotationSet Factory.createImmutableAnnotationSet(Document document, Collection<Annotation> annotations)
          Utility method to create an immutable annotation set.
 

Uses of Annotation in gate.annotation
 

Classes in gate.annotation that implement Annotation
 class AnnotationImpl
          Provides an implementation for the interface gate.Annotation
 

Fields in gate.annotation with type parameters of type Annotation
protected  HashSet<Annotation> DatabaseAnnotationSetImpl.addedAnnotations
          The listener for the events coming from the document (annotations and annotation sets added or removed).
protected  HashMap<Integer,Annotation> AnnotationSetImpl.annotsById
          Maps annotation ids (Integers) to Annotations
protected  HashSet<Annotation> DatabaseAnnotationSetImpl.removedAnnotations
           
protected  HashSet<Annotation> DatabaseAnnotationSetImpl.updatedAnnotations
           
 

Methods in gate.annotation that return Annotation
protected  Annotation TestAnnotation.createAnnotation(Integer id, Node start, Node end, String type, FeatureMap features)
           
 Annotation AnnotationFactory.createAnnotationInSet(AnnotationSet set, Integer id, Node start, Node end, String type, FeatureMap features)
          Adds a new AnnotationImpl to the given set.
 Annotation DefaultAnnotationFactory.createAnnotationInSet(AnnotationSet set, Integer id, Node start, Node end, String type, FeatureMap features)
           
 Annotation AnnotationSetImpl.get(Integer id)
          Find annotations by id
 Annotation CorpusAnnotationDiff.DiffSetElement.getLeftAnnotation()
          Gets the left annotation
 Annotation CorpusAnnotationDiff.DiffSetElement.getRightAnnotation()
          Gets the right annotation
 

Methods in gate.annotation that return types with arguments of type Annotation
 Collection<Annotation> DatabaseAnnotationSetImpl.getAddedAnnotations()
           
 Collection<Annotation> DatabaseAnnotationSetImpl.getChangedAnnotations()
           
 Collection<Annotation> DatabaseAnnotationSetImpl.getRemovedAnnotations()
           
 Iterator<Annotation> AnnotationSetImpl.iterator()
          Get an iterator for this set
 Iterator<Annotation> DatabaseAnnotationSetImpl.iterator()
           
 

Methods in gate.annotation with parameters of type Annotation
 boolean AnnotationSetImpl.add(Annotation a)
          Add an existing annotation.
 boolean DatabaseAnnotationSetImpl.add(Annotation o)
          Add an existing annotation.
 boolean ImmutableAnnotationSetImpl.add(Annotation a)
           
 boolean AnnotationImpl.coextensive(Annotation anAnnot)
          Two Annotation are coextensive if their offsets are the same.
 boolean AnnotationImpl.isCompatible(Annotation anAnnot)
          This verifies if this annotation is compatible with another one.
 boolean AnnotationImpl.isCompatible(Annotation anAnnot, Set aFeatureNamesSet)
          This verifies if this annotation is compatible with another one, given a set with certain keys.
 boolean AnnotationImpl.isPartiallyCompatible(Annotation anAnnot)
          This method verifies if two annotation and are partially compatible.
 boolean AnnotationImpl.isPartiallyCompatible(Annotation anAnnot, Set aFeatureNamesSet)
          This method verifies if two annotation and are partially compatible, given a set with certain keys.
 boolean AnnotationImpl.overlaps(Annotation aAnnot)
           
protected  boolean AnnotationSetImpl.removeFromIdIndex(Annotation a)
          Remove from the ID index.
protected  void AnnotationSetImpl.removeFromOffsetIndex(Annotation a)
          Remove from the offset indices.
protected  void AnnotationSetImpl.removeFromTypeIndex(Annotation a)
          Remove from the type index.
 void CorpusAnnotationDiff.DiffSetElement.setLeftAnnotation(Annotation aLeftAnnotation)
          Sets the left annotation
 void CorpusAnnotationDiff.DiffSetElement.setRightAnnotation(Annotation aRightAnnotation)
          Sets the right annotation
 boolean AnnotationImpl.withinSpanOf(Annotation aAnnot)
          This method tells if this annotation's text range is fully contained within the text annotated by aAnnot's annotation.
 

Method parameters in gate.annotation with type arguments of type Annotation
 boolean AnnotationSetImpl.addAll(Collection<? extends Annotation> c)
          Adds multiple annotations to this set in one go.
 boolean ImmutableAnnotationSetImpl.addAll(Collection<? extends Annotation> arg0)
           
protected  boolean AnnotationSetImpl.addAllKeepIDs(Collection<? extends Annotation> c)
          Adds multiple annotations to this set in one go.
 

Constructors in gate.annotation with parameters of type Annotation
CorpusAnnotationDiff.DiffSetElement(Annotation aLeftAnnotation, Annotation aRightAnnotation, int aLeftType, int aRightType)
          Constructor for DiffSetlement
CorpusAnnotationDiff.DiffSetElement(Annotation aLeftAnnotation, Annotation aRightAnnotation, int aLeftType, int aRightType, Document kDocument, Document rDocument)
          Constructor for DiffSetlement with document name
 

Constructor parameters in gate.annotation with type arguments of type Annotation
ImmutableAnnotationSetImpl(Document doc, Collection<Annotation> annotations)
          Constructs an ImmutableAnnotationSet.
 

Uses of Annotation in gate.corpora
 

Fields in gate.corpora with type parameters of type Annotation
static Comparator<Annotation> DocumentStaxUtils.LONGEST_FIRST_OFFSET_COMPARATOR
          Comparator that compares annotations based on their offsets; when two annotations start at the same location, the longer one is considered to come first in the ordering.
 

Method parameters in gate.corpora with type arguments of type Annotation
static void DocumentStaxUtils.writeAnnotationSet(Collection<Annotation> annotations, String asName, javax.xml.stream.XMLStreamWriter xsw, String namespaceURI)
          Writes the given annotation set to an XMLStreamWriter as GATE XML format.
static void DocumentStaxUtils.writeDocument(Document doc, Map<String,Collection<Annotation>> annotationSets, javax.xml.stream.XMLStreamWriter xsw, String namespaceURI)
          Write the specified GATE Document to an XMLStreamWriter.
static void DocumentStaxUtils.writeTextWithNodes(Document doc, Collection<Collection<Annotation>> annotationSets, javax.xml.stream.XMLStreamWriter xsw, String namespaceURI)
          Writes the content of the given document to an XMLStreamWriter as a mixed content element called "TextWithNodes".
static void DocumentStaxUtils.writeXcesAnnotations(Collection<Annotation> annotations, OutputStream os, String encoding)
          Save annotations to the given output stream in XCES format, with their IDs included as the "n" attribute of each struct.
static void DocumentStaxUtils.writeXcesAnnotations(Collection<Annotation> annotations, javax.xml.stream.XMLStreamWriter xsw)
          Save annotations to the given XMLStreamWriter in XCES format, with their IDs included as the "n" attribute of each struct.
static void DocumentStaxUtils.writeXcesAnnotations(Collection<Annotation> annotations, javax.xml.stream.XMLStreamWriter xsw, boolean includeId)
          Save annotations to the given XMLStreamWriter in XCES format.
 

Uses of Annotation in gate.creole
 

Methods in gate.creole that return Annotation
 Annotation AnnotationVisualResource.getAnnotationCurrentlyEdited()
           
 

Methods in gate.creole with parameters of type Annotation
protected  void POSTagger.addFeatures(Annotation annot, String featureName, String featureValue)
           
 void AnnotationVisualResource.editAnnotation(Annotation ann, AnnotationSet set)
          Changes the annotation currently being edited.
 Object TestPR.TestAnnotationAccessor.getValue(Annotation annot, AnnotationSet context)
           
 

Uses of Annotation in gate.creole.nerc
 

Constructors in gate.creole.nerc with parameters of type Annotation
EntityDescriptor(Document document, Annotation annotation)
          Constructs a new entity descriptor starting from a Gate annotation
 

Uses of Annotation in gate.creole.orthomatcher
 

Fields in gate.creole.orthomatcher declared as Annotation
protected  Annotation OrthoMatcher.longAnnot
           
protected  Annotation OrthoMatcher.shortAnnot
           
 

Fields in gate.creole.orthomatcher with type parameters of type Annotation
protected  ArrayList<Annotation> OrthoMatcher.normalizedTokensLongAnnot
           
protected  ArrayList<Annotation> OrthoMatcher.normalizedTokensShortAnnot
           
protected  ArrayList<Annotation> OrthoMatcher.tokensLongAnnot
           
protected  ArrayList<Annotation> OrthoMatcher.tokensShortAnnot
           
 

Methods in gate.creole.orthomatcher that return Annotation
 Annotation AnnotationOrthography.updateMatches(Annotation newAnnot, String annotString, HashMap processedAnnots, AnnotationSet nameAllAnnots, List matchesDocFeature)
           
 Annotation BasicAnnotationOrthography.updateMatches(Annotation newAnnot, String annotString, HashMap processedAnnots, AnnotationSet nameAllAnnots, List matchesDocFeature)
           
 

Methods in gate.creole.orthomatcher with parameters of type Annotation
 String AnnotationOrthography.getStringForAnnotation(Annotation a, Document d)
          Returns normalized content of an annotation - removes extra white spaces.
 String BasicAnnotationOrthography.getStringForAnnotation(Annotation a, Document d)
           
protected  boolean OrthoMatcher.matchAnnotations(Annotation newAnnot, String annotString, Annotation prevAnnot)
           
 boolean AnnotationOrthography.matchedAlready(Annotation annot1, Annotation annot2, List matchesDocFeature, AnnotationSet nameAllAnnots)
           
 boolean BasicAnnotationOrthography.matchedAlready(Annotation annot1, Annotation annot2, List matchesDocFeature, AnnotationSet nameAllAnnots)
           
protected  boolean OrthoMatcher.matchOtherAnnots(List toMatchList, Annotation newAnnot, String annotString)
          This method checkes whether the new annotation matches all annotations given in the toMatchList (it contains ids) The idea is that the new annotation needs to match all those, because assuming transitivity does not always work, when two different entities share a common token: e.g., BT Cellnet and BT and British Telecom.
protected  void OrthoMatcher.matchWithPrevious(Annotation nameAnnot, String annotString, ArrayList<Annotation> listOfThisType, int startIndex)
          Attempt to match nameAnnot against all previous annotations of the same type, which are passed down in listOfThisType.
 boolean OrthoMatcher.noMatchRule1(String s1, String s2, Annotation previousAnnot, boolean longerPrevious)
          No Match Rule 1: Avoids the problem of matching David Jones ...
protected  String OrthoMatcher.normalizeOrganizationName(String annotString, Annotation annot)
          return an organization without a designator and starting The
protected  void OrthoMatcher.normalizePersonName(Annotation annot)
           
protected  void OrthoMatcher.propagatePropertyToExactMatchingMatches(Annotation updateAnnot, String featureName, Object value)
           
 String AnnotationOrthography.stripPersonTitle(String annotString, Annotation annot, Document doc, Map<Integer,List<Annotation>> tokensMap, HashMap normalizedTokensMap, AnnotationSet nameAllAnnots)
           
 String BasicAnnotationOrthography.stripPersonTitle(String annotString, Annotation annot, Document doc, Map<Integer,List<Annotation>> tokensMap, HashMap normalizedTokensMap, AnnotationSet nameAllAnnots)
          Return a person name without a title.
 void AnnotationOrthography.updateMatches(Annotation newAnnot, Annotation prevAnnot, List matchesDocFeature, AnnotationSet nameAllAnnots)
           
 void BasicAnnotationOrthography.updateMatches(Annotation newAnnot, Annotation prevAnnot, List matchesDocFeature, AnnotationSet nameAllAnnots)
           
 Annotation AnnotationOrthography.updateMatches(Annotation newAnnot, String annotString, HashMap processedAnnots, AnnotationSet nameAllAnnots, List matchesDocFeature)
           
 Annotation BasicAnnotationOrthography.updateMatches(Annotation newAnnot, String annotString, HashMap processedAnnots, AnnotationSet nameAllAnnots, List matchesDocFeature)
           
 

Method parameters in gate.creole.orthomatcher with type arguments of type Annotation
 boolean AnnotationOrthography.allNonStopTokensInOtherAnnot(ArrayList<Annotation> firstName, ArrayList<Annotation> secondName, String TOKEN_STRING_FEATURE_NAME, boolean caseSensitive)
           
 boolean AnnotationOrthography.allNonStopTokensInOtherAnnot(ArrayList<Annotation> firstName, ArrayList<Annotation> secondName, String TOKEN_STRING_FEATURE_NAME, boolean caseSensitive)
           
 boolean BasicAnnotationOrthography.allNonStopTokensInOtherAnnot(ArrayList<Annotation> firstName, ArrayList<Annotation> secondName, String TOKEN_STRING_FEATURE_NAME, boolean caseSensitive)
           
 boolean BasicAnnotationOrthography.allNonStopTokensInOtherAnnot(ArrayList<Annotation> firstName, ArrayList<Annotation> secondName, String TOKEN_STRING_FEATURE_NAME, boolean caseSensitive)
           
protected  void OrthoMatcher.matchUnknown(ArrayList<Annotation> sortedAnnotationsForAType)
           
protected  void OrthoMatcher.matchWithPrevious(Annotation nameAnnot, String annotString, ArrayList<Annotation> listOfThisType, int startIndex)
          Attempt to match nameAnnot against all previous annotations of the same type, which are passed down in listOfThisType.
 String AnnotationOrthography.stripPersonTitle(String annotString, Annotation annot, Document doc, Map<Integer,List<Annotation>> tokensMap, HashMap normalizedTokensMap, AnnotationSet nameAllAnnots)
           
 String BasicAnnotationOrthography.stripPersonTitle(String annotString, Annotation annot, Document doc, Map<Integer,List<Annotation>> tokensMap, HashMap normalizedTokensMap, AnnotationSet nameAllAnnots)
          Return a person name without a title.
 

Uses of Annotation in gate.creole.orthomatcher.SampleOrthoMatcher
 

Methods in gate.creole.orthomatcher.SampleOrthoMatcher that return Annotation
 Annotation SampleAnnotationOrthography.updateMatches(Annotation newAnnot, String annotString, HashMap processedAnnots, AnnotationSet nameAllAnnots, List matchesDocFeature)
           
 

Methods in gate.creole.orthomatcher.SampleOrthoMatcher with parameters of type Annotation
 String SampleAnnotationOrthography.getStringForAnnotation(Annotation a, Document d)
           
 boolean SampleAnnotationOrthography.matchedAlready(Annotation annot1, Annotation annot2, List matchesDocFeature, AnnotationSet nameAllAnnots)
           
 String SampleAnnotationOrthography.stripPersonTitle(String annotString, Annotation annot, Document doc, Map<Integer,List<Annotation>> tokensMap, HashMap normalizedTokensMap, AnnotationSet nameAllAnnots)
           
 void SampleAnnotationOrthography.updateMatches(Annotation newAnnot, Annotation prevAnnot, List matchesDocFeature, AnnotationSet nameAllAnnots)
           
 Annotation SampleAnnotationOrthography.updateMatches(Annotation newAnnot, String annotString, HashMap processedAnnots, AnnotationSet nameAllAnnots, List matchesDocFeature)
           
 

Method parameters in gate.creole.orthomatcher.SampleOrthoMatcher with type arguments of type Annotation
 boolean SampleAnnotationOrthography.allNonStopTokensInOtherAnnot(ArrayList<Annotation> arg0, ArrayList<Annotation> arg1, String arg2, boolean arg3)
           
 boolean SampleAnnotationOrthography.allNonStopTokensInOtherAnnot(ArrayList<Annotation> arg0, ArrayList<Annotation> arg1, String arg2, boolean arg3)
           
 String SampleAnnotationOrthography.stripPersonTitle(String annotString, Annotation annot, Document doc, Map<Integer,List<Annotation>> tokensMap, HashMap normalizedTokensMap, AnnotationSet nameAllAnnots)
           
 

Uses of Annotation in gate.event
 

Methods in gate.event that return Annotation
 Annotation AnnotationSetEvent.getAnnotation()
          Gets the annotation that has been added or removed
 

Constructors in gate.event with parameters of type Annotation
AnnotationEvent(Annotation source, int type)
          Constructor.
AnnotationSetEvent(AnnotationSet source, int type, Document sourceDocument, Annotation annotation)
          Constructor.
 

Uses of Annotation in gate.fsm
 

Methods in gate.fsm with parameters of type Annotation
 boolean Transition.satisfiedBy(Annotation[] coIncidentAnnos)
          Returns true if all the constraints on this transition are satisfied by the given Annotations, false otherwise.
 

Uses of Annotation in gate.gui
 

Fields in gate.gui declared as Annotation
protected  Annotation DocumentEditor.EditAnnotationAction.annotation
           
protected  Annotation SyntaxTreeViewer.utterance
           
 

Methods in gate.gui that return Annotation
 Annotation STreeNode.getAnnotation()
           
 Annotation SchemaAnnotationEditor.getAnnotationCurrentlyEdited()
          Deprecated. Returns the anntoation curerntly edited.
 Annotation SyntaxTreeViewer.getAnnotationCurrentlyEdited()
           
 Annotation UnrestrictedAnnotationEditor.getAnnotationCurrentlyEdited()
          Deprecated.  
 

Methods in gate.gui with parameters of type Annotation
protected  STreeNode SyntaxTreeViewer.createParentNode(String text, Annotation annot)
          Create a parent node for all selected non-terminal nodes
 void SchemaAnnotationEditor.editAnnotation(Annotation ann, AnnotationSet set)
          Deprecated. Used when the viewer/editor has to display/edit an existing annotation
 void SyntaxTreeViewer.editAnnotation(Annotation ann, AnnotationSet set)
          Used when the viewer/editor has to display/edit an existing annotation
 void UnrestrictedAnnotationEditor.editAnnotation(Annotation ann, AnnotationSet set)
          Deprecated. Used when the viewer/editor has to display/edit an existing annotation
protected  void DocumentEditor.selectAnnotation(String set, Annotation ann)
          Deprecated. Updates the GUI when the user has selected an annotation e.g. by using the right click popup.
 void STreeNode.setAnnotation(Annotation annot)
          This also sets the span to match the annotation span!
 

Constructors in gate.gui with parameters of type Annotation
DocumentEditor.EditAnnotationAction(AnnotationSet set, Annotation annotation)
           
DocumentEditor.HighlightAnnotationMenu(Annotation ann, AnnotationSet aSet)
           
STreeNode(Annotation annot)
           
 

Uses of Annotation in gate.gui.annedit
 

Fields in gate.gui.annedit declared as Annotation
protected  Annotation SchemaAnnotationEditor.annotation
          The annotation currently being edited.
 

Fields in gate.gui.annedit with type parameters of type Annotation
protected  LinkedList<Annotation> SearchAndAnnotatePanel.annotateAllAnnotationsID
          List of annotations ID that have been created by the AnnotateAllMatchesAction.
 

Methods in gate.gui.annedit that return Annotation
 Annotation AnnotationData.getAnnotation()
          Gets the Annotation object represented by this structure.
 Annotation AnnotationDataImpl.getAnnotation()
           
 Annotation SchemaAnnotationEditor.getAnnotationCurrentlyEdited()
           
 Annotation AnnotationEditorOwner.getNextAnnotation()
          Called by the editor for obtaining the next annotation to be edited.
 Annotation AnnotationEditorOwner.getPreviousAnnotation()
          Called by the editor for obtaining the previous annotation to be edited.
 

Methods in gate.gui.annedit with parameters of type Annotation
 void AnnotationEditorOwner.annotationChanged(Annotation ann, AnnotationSet set, String oldType)
          Called by the annotation editor when an annotation has been changed.
 void SchemaAnnotationEditor.editAnnotation(Annotation ann, AnnotationSet set)
           
protected  void SchemaAnnotationEditor.moveAnnotation(AnnotationSet set, Annotation oldAnnotation, Long newStartOffset, Long newEndOffset)
          Changes the span of an existing annotation by creating a new annotation with the same ID, type and features but with the new start and end offsets.
 

Constructors in gate.gui.annedit with parameters of type Annotation
AnnotationDataImpl(AnnotationSet set, Annotation ann)
           
 

Uses of Annotation in gate.gui.docview
 

Fields in gate.gui.docview declared as Annotation
protected  Annotation AnnotationEditor.ann
          The annotation being edited.
 

Methods in gate.gui.docview that return Annotation
 Annotation CorefEditor.findOutTheLongestAnnotation(ArrayList matches, AnnotationSet set)
          Given arrayList containing Ids of the annotations, and an annotationSet, this method returns the annotations that has longest string among the matches
 Annotation AnnotationEditor.getAnnotationCurrentlyEdited()
           
 Annotation AnnotationListView.getNextAnnotation()
           
 Annotation AnnotationSetsView.getNextAnnotation()
           
 Annotation AnnotationListView.getPreviousAnnotation()
           
 Annotation AnnotationSetsView.getPreviousAnnotation()
           
 

Methods in gate.gui.docview with parameters of type Annotation
 void AnnotationStack.addAnnotation(Annotation annotation)
          Add an annotation to the current stack row.
 AnnotationDataImpl AnnotationListView.addAnnotation(Annotation ann, AnnotationSet set)
          Adds an annotation to be displayed in the list.
 void AnnotationSetsView.TypeHandler.annotationAdded(Annotation ann)
          Notifies this type handler that a new annotation was created of the right type
 void AnnotationListView.annotationChanged(Annotation ann, AnnotationSet set, String oldType)
           
 void AnnotationSetsView.annotationChanged(Annotation ann, AnnotationSet set, String oldType)
           
 void AnnotationSetsView.TypeHandler.annotationRemoved(Annotation ann)
          Notifies this type handler that an annotation has been removed
 void AnnotationEditor.editAnnotation(Annotation ann, AnnotationSet set)
           
 List<Action> AnnotationListView.getGenericEditorActions(AnnotationSet set, Annotation annotation)
           
 List<Action> AnnotationListView.getSpecificEditorActions(AnnotationSet set, Annotation annotation)
           
 String CorefEditor.getString(Annotation ann)
          Given an annotation, this method returns the string of that annotation
 void OntologyClassView.highlightInstance(AnnotationSet set, Annotation annotation, OClass oClass, JTree tree)
          To see if it's worth using it to optimise highlights display.
protected  void AnnotationEditor.moveAnnotation(AnnotationSet set, Annotation oldAnnotation, Long newStartOffset, Long newEndOffset)
          Changes the span of an existing annotation by creating a new annotation with the same ID, type and features but with the new start and end offsets.
 void CorefEditor.removeChainReference(Annotation annot, CorefEditor.CorefTreeNode chainHead)
          Removes the reference of this annotation from the current chain.
 void TextualDocumentView.scrollAnnotationToVisible(Annotation ann)
           
 void AnnotationSetsView.selectAnnotation(Annotation ann, AnnotationSet annSet)
          Sets a particular annotation as selected.
 

Method parameters in gate.gui.docview with type arguments of type Annotation
 List<AnnotationData> AnnotationListView.addAnnotations(List<Annotation> annotations, AnnotationSet set)
          Adds a batch of annotations in one go.
 

Constructors in gate.gui.docview with parameters of type Annotation
AnnotationListView.EditAnnotationAction(AnnotationSet set, Annotation ann, AnnotationVisualResource editor)
           
 

Uses of Annotation in gate.jape
 

Methods in gate.jape that return Annotation
protected  Annotation SinglePhaseTransducer.getRightMostAnnotation(Collection<Annotation> annots)
          Return the annotation with the right-most end node
 

Methods in gate.jape that return types with arguments of type Annotation
 List<Annotation> Constraint.matches(Collection<Annotation> annots, Ontology ontology, AnnotationSet context)
          Invoke #matches(Annotation, Ontology, Object) on all provided annotations.
 

Methods in gate.jape with parameters of type Annotation
 boolean Constraint.matches(Annotation annot, AnnotationSet context)
          Test if an annotation is of the proper type for this constraint and if it complies with the ConstraintPredicates of this constraint.
 boolean Constraint.matches(Annotation annot, Ontology ontologyLR, AnnotationSet context)
          Test if an annotation is of the proper type for this constraint and if it complies with the ConstraintPredicates of this constraint.
 

Method parameters in gate.jape with type arguments of type Annotation
protected  Annotation SinglePhaseTransducer.getRightMostAnnotation(Collection<Annotation> annots)
          Return the annotation with the right-most end node
 List<Annotation> Constraint.matches(Collection<Annotation> annots, Ontology ontology, AnnotationSet context)
          Invoke #matches(Annotation, Ontology, Object) on all provided annotations.
 

Uses of Annotation in gate.jape.constraint
 

Methods in gate.jape.constraint that return types with arguments of type Annotation
protected  Collection<Annotation> EmbeddedConstraintPredicate.filterMatches(AnnotationSet containedSet)
          If there are attribute constraints, filter the set.
 

Methods in gate.jape.constraint with parameters of type Annotation
 AnnotationSet ContainsPredicate.doMatch(Annotation annot, AnnotationSet as)
          Get all the annots of the right type that are within the span of this annot.
protected abstract  AnnotationSet EmbeddedConstraintPredicate.doMatch(Annotation annot, AnnotationSet as)
           
 AnnotationSet WithinPredicate.doMatch(Annotation annot, AnnotationSet as)
          Get all the annots of the right type that completely span the length of the test annot
 Object AnnotationAccessor.getValue(Annotation annot, AnnotationSet context)
          Obtain the value of some part of the given annotation
 Object AnnotationFeatureAccessor.getValue(Annotation annot, AnnotationSet context)
          Obtain a named feature
 Object CleanStringAccessor.getValue(Annotation annot, AnnotationSet context)
          Return the cleaned up underlying string for the annotation.
 Object LengthAccessor.getValue(Annotation annot, AnnotationSet context)
          Return the length of the span of the annotation.
 Object SimpleAnnotationAccessor.getValue(Annotation annot, AnnotationSet context)
           
 Object StringAccessor.getValue(Annotation annot, AnnotationSet context)
          Return the underlying string for the annotation.
 boolean AbstractConstraintPredicate.matches(Annotation annot, AnnotationSet context)
           
 boolean ConstraintPredicate.matches(Annotation annot, AnnotationSet context)
          Evaluates if the provided annotation meets the requirements of the predicate.
 

Uses of Annotation in gate.jape.functest
 

Methods in gate.jape.functest that return types with arguments of type Annotation
protected  Set<Annotation> BaseJapeTests.doTest(Document doc, String japeResourcePath, BaseJapeTests.AnnotationCreator ac, String ontologyURL)
           
protected  Set<Annotation> BaseJapeTests.doTest(String docResourcePath, String japeResourcePath, BaseJapeTests.AnnotationCreator ac)
           
protected  Set<Annotation> BaseJapeTests.doTest(String docResourcePath, String japeResourcePath, BaseJapeTests.AnnotationCreator ac, String ontologyURL)
           
 

Method parameters in gate.jape.functest with type arguments of type Annotation
protected static void BaseJapeTests.compareEndOffsets(Set<Annotation> res, int... endOffsets)
           
protected static void BaseJapeTests.compareResults(String[] expectedResults, Set<Annotation> actualResults)
          Compares 2 ordered sets of annotations by comparison of the rules that created them.
protected static void BaseJapeTests.compareStartOffsets(Set<Annotation> res, int... startOffsets)
           
 

Uses of Annotation in gate.util
 

Methods in gate.util that return Annotation
 Annotation AnnotationDiffer.Pairing.getKey()
          Gets the key annotation of the pairing.
 Annotation AnnotationDiffer.PairingImpl.getKey()
           
 Annotation AnnotationDiffer.Pairing.getResponse()
          Gets the response annotation of the pairing.
 Annotation AnnotationDiffer.PairingImpl.getResponse()
           
 

Methods in gate.util that return types with arguments of type Annotation
 Set<Annotation> AnnotationDiffer.getAnnotationsOfType(int type)
          A method that returns specific type of annotations
 

Methods in gate.util with parameters of type Annotation
 int OffsetComparator.compare(Annotation a1, Annotation a2)
           
 

Method parameters in gate.util with type arguments of type Annotation
static void AnnotationMerging.mergeAnnotation(AnnotationSet[] annsArr, String nameFeat, HashMap<Annotation,String> mergeAnns, int numMinK, boolean isTheSameInstances)
          Merge all annotationset from an array.
static void AnnotationMerging.mergeAnnotationMajority(AnnotationSet[] annsArr, String nameFeat, HashMap<Annotation,String> mergeAnns, boolean isTheSameInstances)
          Merge all annotationset from an array.
 

Uses of Annotation in gate.util.web
 

Methods in gate.util.web with parameters of type Annotation
 boolean WebCrimeReportAnalyser.SortedAnnotationList.addSortedExclusive(Annotation annot)