org.semanticweb.owlapi.model
Class SpecificOntologyChangeBroadcastStrategy

java.lang.Object
  extended by org.semanticweb.owlapi.model.SpecificOntologyChangeBroadcastStrategy
All Implemented Interfaces:
OWLOntologyChangeBroadcastStrategy

public class SpecificOntologyChangeBroadcastStrategy
extends java.lang.Object
implements OWLOntologyChangeBroadcastStrategy

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 20-Nov-2006

A change broadcast strategy that broadcasts changes that have been applied to a specific ontology.


Constructor Summary
SpecificOntologyChangeBroadcastStrategy(OWLOntology ontology)
          Constructs a change broadcast strategy which only causes changes that have been applied to the specific ontology to be broadcast.
 
Method Summary
 void broadcastChanges(OWLOntologyChangeListener listener, java.util.List<? extends OWLOntologyChange> changes)
          Broadcasts the list of changes to the specified listeners.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecificOntologyChangeBroadcastStrategy

public SpecificOntologyChangeBroadcastStrategy(OWLOntology ontology)
Constructs a change broadcast strategy which only causes changes that have been applied to the specific ontology to be broadcast.

Parameters:
ontology - The ontology.
Method Detail

broadcastChanges

public void broadcastChanges(OWLOntologyChangeListener listener,
                             java.util.List<? extends OWLOntologyChange> changes)
                      throws java.lang.Exception
Description copied from interface: OWLOntologyChangeBroadcastStrategy
Broadcasts the list of changes to the specified listeners.

Specified by:
broadcastChanges in interface OWLOntologyChangeBroadcastStrategy
Parameters:
listener - The listeners that the changes should be broadcast to
changes - The changes to be broadcast.
Throws:
OWLException
java.lang.Exception