Package net.ontopia.topicmaps.impl.utils
Class TopicModificationManager
java.lang.Object
net.ontopia.topicmaps.impl.utils.TopicModificationManager
- All Implemented Interfaces:
Serializable,EventListenerIF,EventManagerIF
INTERNAL: Event manager that fires TopicIF.modified events.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected net.ontopia.topicmaps.impl.utils.TopicModificationManager.AssociationHandlerprotected net.ontopia.topicmaps.impl.utils.TopicModificationManager.TopicNameHandlerprotected CollectionFactoryIFprotected Map<String,TopicModificationManager.EventHandler> protected Map<String,Set<EventListenerIF>> protected TopicModificationManagerprotected net.ontopia.topicmaps.impl.utils.TopicModificationManager.TopicMapHandlerprotected net.ontopia.topicmaps.impl.utils.TopicModificationManager.OccurrenceHandlerprotected net.ontopia.topicmaps.impl.utils.TopicModificationManager.AssociationRoleHandlerprotected net.ontopia.topicmaps.impl.utils.TopicModificationManager.TopicHandlerprotected net.ontopia.topicmaps.impl.utils.TopicModificationManager.VariantNameHandler -
Constructor Summary
ConstructorsConstructorDescriptionTopicModificationManager(EventManagerIF emanager, CollectionFactoryIF cfactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(EventListenerIF listener, String event) INTERNAL: Register the listener as a listener for the event.voidprocessEvent(Object object, String event, Object new_value, Object old_value) INTERNAL: A method that receives notification when an event has been triggered.voidremoveListener(EventListenerIF listener, String event) INTERNAL: Unregister the listener as a listener for the event.
-
Field Details
-
handlers
-
listeners
-
manager
-
cfactory
-
th
protected net.ontopia.topicmaps.impl.utils.TopicModificationManager.TopicHandler th -
bh
protected net.ontopia.topicmaps.impl.utils.TopicModificationManager.TopicNameHandler bh -
vh
protected net.ontopia.topicmaps.impl.utils.TopicModificationManager.VariantNameHandler vh -
oh
protected net.ontopia.topicmaps.impl.utils.TopicModificationManager.OccurrenceHandler oh -
rh
protected net.ontopia.topicmaps.impl.utils.TopicModificationManager.AssociationRoleHandler rh -
ah
protected net.ontopia.topicmaps.impl.utils.TopicModificationManager.AssociationHandler ah -
mh
protected net.ontopia.topicmaps.impl.utils.TopicModificationManager.TopicMapHandler mh
-
-
Constructor Details
-
TopicModificationManager
-
-
Method Details
-
addListener
Description copied from interface:EventManagerIFINTERNAL: Register the listener as a listener for the event.- Specified by:
addListenerin interfaceEventManagerIF
-
removeListener
Description copied from interface:EventManagerIFINTERNAL: Unregister the listener as a listener for the event.- Specified by:
removeListenerin interfaceEventManagerIF
-
processEvent
Description copied from interface:EventListenerIFINTERNAL: A method that receives notification when an event has been triggered.- Specified by:
processEventin interfaceEventListenerIF
-