org.topbraid.core.change
Class GraphTracker

java.lang.Object
  extended by org.topbraid.core.model.AbstractGraphListener
      extended by org.topbraid.core.change.GraphTracker
All Implemented Interfaces:
com.hp.hpl.jena.graph.GraphListener

public class GraphTracker
extends AbstractGraphListener

A GraphListener that records changes in a Graph as TripleChangeRecords on the currently active ChangeOperation object.

Author:
Holger Knublauch

Constructor Summary
GraphTracker()
           
 
Method Summary
static GraphTracker get()
           
 void notifyAddTriple(com.hp.hpl.jena.graph.Graph g, com.hp.hpl.jena.graph.Triple t)
           
 void notifyDeleteTriple(com.hp.hpl.jena.graph.Graph g, com.hp.hpl.jena.graph.Triple t)
           
 
Methods inherited from class org.topbraid.core.model.AbstractGraphListener
notifyAddArray, notifyAddGraph, notifyAddIterator, notifyAddList, notifyDeleteArray, notifyDeleteGraph, notifyDeleteIterator, notifyDeleteList, notifyEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphTracker

public GraphTracker()
Method Detail

get

public static GraphTracker get()

notifyAddTriple

public void notifyAddTriple(com.hp.hpl.jena.graph.Graph g,
                            com.hp.hpl.jena.graph.Triple t)

notifyDeleteTriple

public void notifyDeleteTriple(com.hp.hpl.jena.graph.Graph g,
                               com.hp.hpl.jena.graph.Triple t)