debugger.resources.pr
Class RuleAnnotationHistory
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
annSetsByDocument
private ArrayList annSetsByDocument
RuleAnnotationHistory
public RuleAnnotationHistory()
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