|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ontopia.topicmaps.core.events.AbstractTopicMapListener
public abstract class AbstractTopicMapListener
PUBLIC: Base class for topic map listeners. Subclass this abstract listener class if you want to create your own listener implementation. Subclassing this class will make sure that any extensions to the TopicMapListenerIF interface will be catered for in the future, preventing inconsistencies. Methods implemented by this abstract class have empty method bodies.
Constructor Summary | |
---|---|
AbstractTopicMapListener()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractTopicMapListener()
Method Detail |
---|
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)
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |