com.hp.hpl.jena.sparql.util.graph
Class GraphListenerBase
java.lang.Object
com.hp.hpl.jena.sparql.util.graph.GraphListenerBase
- All Implemented Interfaces:
- GraphListener
- Direct Known Subclasses:
- GraphListenerCounter
public abstract class GraphListenerBase
- extends Object
- implements GraphListener
Convert the full, wide GraphListener interface into something more specific to loading
including flagging the start and finish of a load operation.
Method Summary |
void |
notifyAddArray(Graph g,
Triple[] triples)
|
void |
notifyAddGraph(Graph g,
Graph added)
|
void |
notifyAddIterator(Graph g,
Iterator<Triple> it)
|
void |
notifyAddList(Graph g,
List<Triple> triples)
|
void |
notifyAddTriple(Graph g,
Triple t)
|
void |
notifyDeleteArray(Graph g,
Triple[] triples)
|
void |
notifyDeleteGraph(Graph g,
Graph removed)
|
void |
notifyDeleteIterator(Graph g,
Iterator<Triple> it)
|
void |
notifyDeleteList(Graph g,
List<Triple> triples)
|
void |
notifyDeleteTriple(Graph g,
Triple t)
|
void |
notifyEvent(Graph source,
Object value)
|
GraphListenerBase
public GraphListenerBase()
notifyAddTriple
public void notifyAddTriple(Graph g,
Triple t)
- Specified by:
notifyAddTriple
in interface GraphListener
notifyAddArray
public void notifyAddArray(Graph g,
Triple[] triples)
- Specified by:
notifyAddArray
in interface GraphListener
notifyAddList
public void notifyAddList(Graph g,
List<Triple> triples)
- Specified by:
notifyAddList
in interface GraphListener
notifyAddIterator
public void notifyAddIterator(Graph g,
Iterator<Triple> it)
- Specified by:
notifyAddIterator
in interface GraphListener
notifyAddGraph
public void notifyAddGraph(Graph g,
Graph added)
- Specified by:
notifyAddGraph
in interface GraphListener
notifyDeleteTriple
public void notifyDeleteTriple(Graph g,
Triple t)
- Specified by:
notifyDeleteTriple
in interface GraphListener
notifyDeleteList
public void notifyDeleteList(Graph g,
List<Triple> triples)
- Specified by:
notifyDeleteList
in interface GraphListener
notifyDeleteArray
public void notifyDeleteArray(Graph g,
Triple[] triples)
- Specified by:
notifyDeleteArray
in interface GraphListener
notifyDeleteIterator
public void notifyDeleteIterator(Graph g,
Iterator<Triple> it)
- Specified by:
notifyDeleteIterator
in interface GraphListener
notifyDeleteGraph
public void notifyDeleteGraph(Graph g,
Graph removed)
- Specified by:
notifyDeleteGraph
in interface GraphListener
notifyEvent
public void notifyEvent(Graph source,
Object value)
- Specified by:
notifyEvent
in interface GraphListener
Licenced under the Apache License, Version 2.0