org.topbraid.core.model
Class AbstractGraphListener

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

public abstract class AbstractGraphListener
extends java.lang.Object
implements com.hp.hpl.jena.graph.GraphListener

An abstract GraphListeners that forwards each call into notifyAddTriple and notifyDeleteTriple to reduce the implementation burden of subclasses.

Author:
Holger Knublauch

Constructor Summary
AbstractGraphListener()
           
 
Method Summary
 void notifyAddArray(com.hp.hpl.jena.graph.Graph g, com.hp.hpl.jena.graph.Triple[] triples)
           
 void notifyAddGraph(com.hp.hpl.jena.graph.Graph g, com.hp.hpl.jena.graph.Graph added)
           
 void notifyAddIterator(com.hp.hpl.jena.graph.Graph g, java.util.Iterator it)
           
 void notifyAddList(com.hp.hpl.jena.graph.Graph g, java.util.List triples)
           
 void notifyDeleteArray(com.hp.hpl.jena.graph.Graph g, com.hp.hpl.jena.graph.Triple[] triples)
           
 void notifyDeleteGraph(com.hp.hpl.jena.graph.Graph g, com.hp.hpl.jena.graph.Graph removed)
           
 void notifyDeleteIterator(com.hp.hpl.jena.graph.Graph g, java.util.Iterator it)
           
 void notifyDeleteList(com.hp.hpl.jena.graph.Graph g, java.util.List list)
           
 void notifyEvent(com.hp.hpl.jena.graph.Graph source, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hp.hpl.jena.graph.GraphListener
notifyAddTriple, notifyDeleteTriple
 

Constructor Detail

AbstractGraphListener

public AbstractGraphListener()
Method Detail

notifyAddArray

public void notifyAddArray(com.hp.hpl.jena.graph.Graph g,
                           com.hp.hpl.jena.graph.Triple[] triples)
Specified by:
notifyAddArray in interface com.hp.hpl.jena.graph.GraphListener

notifyAddList

public void notifyAddList(com.hp.hpl.jena.graph.Graph g,
                          java.util.List triples)
Specified by:
notifyAddList in interface com.hp.hpl.jena.graph.GraphListener

notifyAddIterator

public void notifyAddIterator(com.hp.hpl.jena.graph.Graph g,
                              java.util.Iterator it)
Specified by:
notifyAddIterator in interface com.hp.hpl.jena.graph.GraphListener

notifyAddGraph

public void notifyAddGraph(com.hp.hpl.jena.graph.Graph g,
                           com.hp.hpl.jena.graph.Graph added)
Specified by:
notifyAddGraph in interface com.hp.hpl.jena.graph.GraphListener

notifyDeleteList

public void notifyDeleteList(com.hp.hpl.jena.graph.Graph g,
                             java.util.List list)
Specified by:
notifyDeleteList in interface com.hp.hpl.jena.graph.GraphListener

notifyDeleteArray

public void notifyDeleteArray(com.hp.hpl.jena.graph.Graph g,
                              com.hp.hpl.jena.graph.Triple[] triples)
Specified by:
notifyDeleteArray in interface com.hp.hpl.jena.graph.GraphListener

notifyDeleteIterator

public void notifyDeleteIterator(com.hp.hpl.jena.graph.Graph g,
                                 java.util.Iterator it)
Specified by:
notifyDeleteIterator in interface com.hp.hpl.jena.graph.GraphListener

notifyDeleteGraph

public void notifyDeleteGraph(com.hp.hpl.jena.graph.Graph g,
                              com.hp.hpl.jena.graph.Graph removed)
Specified by:
notifyDeleteGraph in interface com.hp.hpl.jena.graph.GraphListener

notifyEvent

public void notifyEvent(com.hp.hpl.jena.graph.Graph source,
                        java.lang.Object value)
Specified by:
notifyEvent in interface com.hp.hpl.jena.graph.GraphListener