|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GraphListener
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.
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,
java.util.Iterator<Triple> it)
Method called when an iterator [of triples] has been added to the graph |
void |
notifyAddList(Graph g,
java.util.List<Triple> 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,
java.util.Iterator<Triple> it)
Method called when an iterator [of triples] has been deleted from the graph. |
void |
notifyDeleteList(Graph g,
java.util.List<Triple> 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,
java.lang.Object value)
method to call for a general event |
Method Detail |
---|
void notifyAddTriple(Graph g, Triple t)
void notifyAddArray(Graph g, Triple[] triples)
void notifyAddList(Graph g, java.util.List<Triple> triples)
void notifyAddIterator(Graph g, java.util.Iterator<Triple> it)
void notifyAddGraph(Graph g, Graph added)
g
has been used to
specify the triples added to our attached graph.
g
- the graph of triples addedvoid notifyDeleteTriple(Graph g, Triple t)
void notifyDeleteList(Graph g, java.util.List<Triple> L)
void notifyDeleteArray(Graph g, Triple[] triples)
void notifyDeleteIterator(Graph g, java.util.Iterator<Triple> it)
void notifyDeleteGraph(Graph g, Graph removed)
g
- the graph of triples addedvoid notifyEvent(Graph source, java.lang.Object value)
value
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |