org.ontoware.rdf2go.model
Interface NotifyingModelSet


public interface NotifyingModelSet

A ModelSet 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.

Author:
sauermann, voelkel

Method Summary
 void addModelSetChangedListener(ModelChangedListener listener)
           
 void addModelSetChangedListener(ModelChangedListener listener, QuadPattern pattern)
           
 void removeModelSetChangedListener(ModelChangedListener listener)
           
 

Method Detail

addModelSetChangedListener

void addModelSetChangedListener(ModelChangedListener listener,
                                QuadPattern pattern)
Parameters:
listener -
pattern - all add or remove statement events matching the pattern will be send to the listener. Updates are always send.

addModelSetChangedListener

void addModelSetChangedListener(ModelChangedListener listener)

removeModelSetChangedListener

void removeModelSetChangedListener(ModelChangedListener listener)


Copyright © 2005-2008 FZI - Forschungszentrum Informatik | Karlsruhe | Germany. All Rights Reserved.