Package org.semanticweb.owlapi.model
Class SpecificOntologyChangeBroadcastStrategy
java.lang.Object
org.semanticweb.owlapi.model.SpecificOntologyChangeBroadcastStrategy
- All Implemented Interfaces:
Serializable
,OWLOntologyChangeBroadcastStrategy
public class SpecificOntologyChangeBroadcastStrategy
extends Object
implements OWLOntologyChangeBroadcastStrategy
A change broadcast strategy that broadcasts changes that have been applied to
a specific ontology.
- Since:
- 2.0.0
- Author:
- Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a change broadcast strategy which only causes changes that have been applied to the specific ontology to be broadcast. -
Method Summary
Modifier and TypeMethodDescriptionvoid
broadcastChanges
(OWLOntologyChangeListener listener, List<? extends OWLOntologyChange> changes) Broadcasts the list of changes to the specified listeners.
-
Constructor Details
-
SpecificOntologyChangeBroadcastStrategy
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 Details
-
broadcastChanges
public void broadcastChanges(OWLOntologyChangeListener listener, List<? extends OWLOntologyChange> changes) Description copied from interface:OWLOntologyChangeBroadcastStrategy
Broadcasts the list of changes to the specified listeners.- Specified by:
broadcastChanges
in interfaceOWLOntologyChangeBroadcastStrategy
- Parameters:
listener
- The listeners that the changes should be broadcast tochanges
- The changes to be broadcast.
-