org.tm4j.topicmap.source .TopicMapSource

Description

A abstract representation for the source of a TopicMap. When added to a org.tm4j.topicmap.TopicMapProvider, the getLocator and propulateTopicMap methods will be called. Implementations must ensure that a correct Locator for the TopicMap is returned. The TopicMap object passed by populateTopicMap is either a new or an existing TopicMap managed by the calling org.tm4j.topicmap.TopicMapProvider. The TopicMapProvider has to ensure that no null value is passed. What is done with the passed TopicMap object is up to concrete implementations of this interface

Implementations of this interface

Method Summary
java.lang.String getBaseAddress()
Returns the base address of this source.
org.tm4j.net.Locator getBaseLocator()
Returns the base locator for this source.
void populateTopicMap(org.tm4j.topicmap.TopicMap map)
a callback method called by the TopicMapProvider implementation to populate the topic map
void populateTopicMap(org.tm4j.topicmap.TopicMap map,org.tm4j.topicmap.TopicMapProvider provider)
A callback method called by the TopicMapProvider implementation to populate the topic map.
void populateTopicMap(org.tm4j.topicmap.TopicMap map,org.tm4j.topicmap.TopicMapProvider provider,org.tm4j.topicmap.Topic[] addedThemes)
void populateTopicMap(org.tm4j.topicmap.TopicMap map,org.tm4j.topicmap.Topic[] addedThemes)