GATE
Version 3.1-2270

debugger.resources.pr
Class RuleAnnotationHistory

java.lang.Object
  extended by debugger.resources.pr.RuleAnnotationHistory
All Implemented Interfaces:
AnnotationSetListener, EventListener

public class RuleAnnotationHistory
extends Object
implements AnnotationSetListener

Copyright (c) Ontos AG (http://www.ontosearch.com). This class is part of JAPE Debugger component for GATE (Copyright (c) "The University of Sheffield" see http://gate.ac.uk/)

Author:
Andrey Shafirin

Constructor Summary
RuleAnnotationHistory()
           
 
Method Summary
 boolean addAnnotation(Annotation annotation, Document document)
           
 boolean addAnnotationSet(AnnotationSet annSet)
           
 void annotationAdded(AnnotationSetEvent e)
          Called when a new Annotation has been added
 void annotationRemoved(AnnotationSetEvent e)
          Called when an Annotation has been removed
 Iterator getAllAnnotationSets()
           
 AnnotationSet getAnnotationSet(Document document)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleAnnotationHistory

public RuleAnnotationHistory()
Method Detail

getAllAnnotationSets

public Iterator getAllAnnotationSets()

getAnnotationSet

public AnnotationSet getAnnotationSet(Document document)

addAnnotationSet

public boolean addAnnotationSet(AnnotationSet annSet)

addAnnotation

public boolean addAnnotation(Annotation annotation,
                             Document document)

annotationAdded

public void annotationAdded(AnnotationSetEvent e)
Description copied from interface: AnnotationSetListener
Called when a new Annotation has been added

Specified by:
annotationAdded in interface AnnotationSetListener

annotationRemoved

public void annotationRemoved(AnnotationSetEvent e)
Description copied from interface: AnnotationSetListener
Called when an Annotation has been removed

Specified by:
annotationRemoved in interface AnnotationSetListener

GATE
Version 3.1-2270