| java.lang.Object com.hp.hpl.jena.rdf.model.impl.ModelListenerAdapter
ModelListenerAdapter | public class ModelListenerAdapter implements GraphListener(Code) | | Adapter class that converts a ModelChangedListener into a GraphListener.
The only tricky bit is that we have to implement equality as equality of the
underlying ModelChangedListeners/ModelCom pairs.
This implementation only works for ModelCom models,
because it relies on various service methods; this gives the model the
opportunity to cache various mappings for efficiency.
author: hedgehog |
Method Summary | |
public boolean | equals(Object other) | public void | notifyAddArray(Graph graph, Triple[] triples) | public void | notifyAddGraph(Graph g, Graph added) | public void | notifyAddIterator(Graph g, Iterator it) | public void | notifyAddIterator(Graph g, List triples) | public void | notifyAddList(Graph g, List triples) | public void | notifyAddTriple(Graph g, Triple t) | public void | notifyDeleteArray(Graph g, Triple[] triples) | public void | notifyDeleteGraph(Graph g, Graph removed) | public void | notifyDeleteIterator(Graph g, Iterator it) | public void | notifyDeleteList(Graph g, List triples) | public void | notifyDeleteTriple(Graph g, Triple t) | public void | notifyEvent(Graph g, Object event) | public boolean | sameAs(ModelListenerAdapter other) |
notifyAddIterator | public void notifyAddIterator(Graph g, List triples)(Code) | | |
|
|