org.apache.clerezza.rdf.core.event
Interface GraphListener


public interface GraphListener

A class that is interested in graph events implements this interface and is then added as listener to a ListenableTripleCollection or one of its subclasses. When the ListenableTripleCollection is modified, then the GraphListener is notified.

Author:
mir

Method Summary
 void graphChanged(List<GraphEvent> events)
          This method is called when a ListenableTripleCollection was modified, to which this GraphListener was added.
 

Method Detail

graphChanged

void graphChanged(List<GraphEvent> events)
This method is called when a ListenableTripleCollection was modified, to which this GraphListener was added. A List containing GraphEvents are passed as argument. The list contains all events in which a triple was part of the modification that matched the FilterTriple which was passed as argument when the listener was added.

Parameters:
events -


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.