
org.ontoware.rdf2go.model.NotifyingModelSet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rdf2go.api Show documentation
Show all versions of rdf2go.api Show documentation
RDF2go is an implementation-independent Java API with the design
goals: portability (hence the name), performance and ease of
implementation.
This project was started at FZI Forschungszentrum Informatik Karlsruhe, Germany - www.fzi.de
The newest version!
/**
* LICENSE INFORMATION
*
* Copyright 2005-2008 by FZI (http://www.fzi.de). Licensed under a BSD license
* (http://www.opensource.org/licenses/bsd-license.php) = Max Völkel
* = FZI Forschungszentrum Informatik Karlsruhe, Karlsruhe,
* Germany = 2010
*
* Further project information at http://semanticweb.org/wiki/RDF2Go
*/
/**
* BSD Licensed.
*/
package org.ontoware.rdf2go.model;
/**
* 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
* @author voelkel
*/
public interface NotifyingModelSet {
/**
*
* @param listener to be notified on matching events
* @param pattern all add or remove statement events matching the pattern
* will be send to the listener. Updates are always send.
*/
public void addModelSetChangedListener(ModelChangedListener listener, QuadPattern pattern);
public void addModelSetChangedListener(ModelChangedListener listener);
public void removeModelSetChangedListener(ModelChangedListener listener);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy