org.ontoware.rdf2go.model
Interface NotifyingModel
public interface NotifyingModel
A Model that can notify listeners when triples are added or removed from the
model.
Note that not all models support listening, for example a model hosted on a
remote server may not support notifications of operations done on the model
to remote clients.
Reads from streams and readers are not detectable.
- Author:
- sauermann, voelkel
addModelChangedListener
void addModelChangedListener(ModelChangedListener listener,
TriplePattern pattern)
- Parameters:
listener - pattern - all add or remove statement events matching the pattern will
be send to the listener. Updates are always send.
addModelChangedListener
void addModelChangedListener(ModelChangedListener listener)
removeModelChangedListener
void removeModelChangedListener(ModelChangedListener listener)
Copyright © 2005-2008 FZI - Forschungszentrum Informatik | Karlsruhe | Germany. All Rights Reserved.