com.hp.hpl.jena.sparql.util.graph
Class GraphListenerBase

java.lang.Object
  extended by com.hp.hpl.jena.sparql.util.graph.GraphListenerBase
All Implemented Interfaces:
com.hp.hpl.jena.graph.GraphListener
Direct Known Subclasses:
GraphListenerCounter

public abstract class GraphListenerBase
extends Object
implements com.hp.hpl.jena.graph.GraphListener

Convert the full, wide GraphListener interface into something more specific to loading including flagging the start and finish of a load operation.


Constructor Summary
GraphListenerBase()
           
 
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, Iterator<com.hp.hpl.jena.graph.Triple> it)
           
 void notifyAddList(com.hp.hpl.jena.graph.Graph g, List<com.hp.hpl.jena.graph.Triple> triples)
           
 void notifyAddTriple(com.hp.hpl.jena.graph.Graph g, com.hp.hpl.jena.graph.Triple t)
           
 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, Iterator<com.hp.hpl.jena.graph.Triple> it)
           
 void notifyDeleteList(com.hp.hpl.jena.graph.Graph g, List<com.hp.hpl.jena.graph.Triple> triples)
           
 void notifyDeleteTriple(com.hp.hpl.jena.graph.Graph g, com.hp.hpl.jena.graph.Triple t)
           
 void notifyEvent(com.hp.hpl.jena.graph.Graph source, Object value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphListenerBase

public GraphListenerBase()
Method Detail

notifyAddTriple

public void notifyAddTriple(com.hp.hpl.jena.graph.Graph g,
                            com.hp.hpl.jena.graph.Triple t)
Specified by:
notifyAddTriple in interface com.hp.hpl.jena.graph.GraphListener

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,
                          List<com.hp.hpl.jena.graph.Triple> triples)
Specified by:
notifyAddList in interface com.hp.hpl.jena.graph.GraphListener

notifyAddIterator

public void notifyAddIterator(com.hp.hpl.jena.graph.Graph g,
                              Iterator<com.hp.hpl.jena.graph.Triple> 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

notifyDeleteTriple

public void notifyDeleteTriple(com.hp.hpl.jena.graph.Graph g,
                               com.hp.hpl.jena.graph.Triple t)
Specified by:
notifyDeleteTriple in interface com.hp.hpl.jena.graph.GraphListener

notifyDeleteList

public void notifyDeleteList(com.hp.hpl.jena.graph.Graph g,
                             List<com.hp.hpl.jena.graph.Triple> triples)
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,
                                 Iterator<com.hp.hpl.jena.graph.Triple> 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,
                        Object value)
Specified by:
notifyEvent in interface com.hp.hpl.jena.graph.GraphListener


Licenced under the Apache License, Version 2.0