public abstract class AbstractTopicMapListener extends Object implements TopicMapListenerIF
Constructor and Description |
---|
AbstractTopicMapListener() |
Modifier and Type | Method and Description |
---|---|
void |
objectAdded(TMObjectIF snapshot)
PUBLIC: Callback method called when a topic map object has been
added to the topic map.
|
void |
objectModified(TMObjectIF snapshot)
PUBLIC: Callback method called when a topic map object has been
modified.
|
void |
objectRemoved(TMObjectIF snapshot)
PUBLIC: Callback method called when a topic map object has been
removed from the topic map.
|
void |
setReference(TopicMapReferenceIF ref)
INTERNAL: Callback method called when listener is being
registered or unregistered with a topic map reference.
|
public void objectAdded(TMObjectIF snapshot)
TopicMapListenerIF
objectAdded
in interface TopicMapListenerIF
public void objectModified(TMObjectIF snapshot)
TopicMapListenerIF
objectModified
in interface TopicMapListenerIF
public void objectRemoved(TMObjectIF snapshot)
TopicMapListenerIF
TopicMapIF.removeTopic(TopicIF)
. The data included
are: the object ID, the topic types, all topic names and their
complete data including their variant names, all occurrences and
all their complete data. Note that any topic references in this
snapshot will only be stubs and thus only contain the topic's
object ID.objectRemoved
in interface TopicMapListenerIF
public void setReference(TopicMapReferenceIF ref)