| com.hp.hpl.jena.graph.GraphListener
All known Subclasses: com.hp.hpl.jena.graph.test.RecordingListener, com.hp.hpl.jena.rdf.model.impl.ModelListenerAdapter,
GraphListener | public interface GraphListener (Code) | | Interface for listening to graph-level update events. Each time the graph is
poked to add or remove some triples, and after that poke has completed
without throwing an exception, all the listeners attached to the Graph are
informed about the poke.
author: Jeremy Carroll, extensions by kers |
Method Summary | |
void | notifyAddArray(Graph g, Triple[] triples) Method called when an array of triples has been added to the graph. | void | notifyAddGraph(Graph g, Graph added) Method called when another graph g has been used to
specify the triples added to our attached graph. | void | notifyAddIterator(Graph g, Iterator it) | void | notifyAddList(Graph g, List triples) Method called when a list [of triples] has been added to the graph. | void | notifyAddTriple(Graph g, Triple t) Method called when a single triple has been added to the graph. | void | notifyDeleteArray(Graph g, Triple[] triples) Method called when an array of triples has been deleted from the graph. | void | notifyDeleteGraph(Graph g, Graph removed) Method to call when another graph has been used to specify the triples
deleted from our attached graph. | void | notifyDeleteIterator(Graph g, Iterator it) Method called when an iterator [of triples] has been deleted from the graph. | void | notifyDeleteList(Graph g, List L) Method called when a list [of triples] has been deleted from the graph. | void | notifyDeleteTriple(Graph g, Triple t) Method called when a single triple has been deleted from the graph. | void | notifyEvent(Graph source, Object value) |
notifyAddArray | void notifyAddArray(Graph g, Triple[] triples)(Code) | | Method called when an array of triples has been added to the graph.
|
notifyAddGraph | void notifyAddGraph(Graph g, Graph added)(Code) | | Method called when another graph g has been used to
specify the triples added to our attached graph.
Parameters: g - the graph of triples added |
notifyAddIterator | void notifyAddIterator(Graph g, Iterator it)(Code) | | Method called when an iterator [of triples] has been added to the graph
|
notifyAddList | void notifyAddList(Graph g, List triples)(Code) | | Method called when a list [of triples] has been added to the graph.
|
notifyAddTriple | void notifyAddTriple(Graph g, Triple t)(Code) | | Method called when a single triple has been added to the graph.
|
notifyDeleteArray | void notifyDeleteArray(Graph g, Triple[] triples)(Code) | | Method called when an array of triples has been deleted from the graph.
|
notifyDeleteGraph | void notifyDeleteGraph(Graph g, Graph removed)(Code) | | Method to call when another graph has been used to specify the triples
deleted from our attached graph.
Parameters: g - the graph of triples added |
notifyDeleteIterator | void notifyDeleteIterator(Graph g, Iterator it)(Code) | | Method called when an iterator [of triples] has been deleted from the graph.
|
notifyDeleteList | void notifyDeleteList(Graph g, List L)(Code) | | Method called when a list [of triples] has been deleted from the graph.
|
notifyDeleteTriple | void notifyDeleteTriple(Graph g, Triple t)(Code) | | Method called when a single triple has been deleted from the graph.
|
notifyEvent | void notifyEvent(Graph source, Object value)(Code) | | method to call for a general event
Parameters: value - |
|
|