public class SpecificOntologyChangeBroadcastStrategy extends java.lang.Object implements OWLOntologyChangeBroadcastStrategy
Constructor and Description |
---|
SpecificOntologyChangeBroadcastStrategy(OWLOntology ontology)
Constructs a change broadcast strategy which only causes changes that
have been applied to the specific ontology to be broadcast.
|
Modifier and Type | Method and Description |
---|---|
void |
broadcastChanges(OWLOntologyChangeListener listener,
java.util.List<? extends OWLOntologyChange> changes)
Broadcasts the list of changes to the specified listeners.
|
public SpecificOntologyChangeBroadcastStrategy(OWLOntology ontology)
ontology
- The ontology.public void broadcastChanges(OWLOntologyChangeListener listener, java.util.List<? extends OWLOntologyChange> changes) throws OWLException
OWLOntologyChangeBroadcastStrategy
broadcastChanges
in interface OWLOntologyChangeBroadcastStrategy
listener
- The listeners that the changes should be broadcast tochanges
- The changes to be broadcast.OWLException