|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A abstract representation for the source of a TopicMap. When added to
a 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 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
Method Summary | |
java.lang.String |
getBaseAddress()
Returns the base address of this source. |
Locator |
getBaseLocator()
Returns the base locator for this source. |
void |
populateTopicMap(TopicMap map)
a callback method called by the TopicMapProvider implementation to populate the topic map |
void |
populateTopicMap(TopicMap map,
Topic[] addedThemes)
|
void |
populateTopicMap(TopicMap map,
TopicMapProvider provider)
A callback method called by the TopicMapProvider implementation to populate the topic map. |
void |
populateTopicMap(TopicMap map,
TopicMapProvider provider,
Topic[] addedThemes)
|
Method Detail |
public java.lang.String getBaseAddress()
public Locator getBaseLocator()
public void populateTopicMap(TopicMap map) throws TopicMapProcessingException
map
- the TopicMap instance to be populated
TopicMapProcessingException
- if the parsing of the topic map
source fails or if during population of the topic map some
consistency constraints or XTM rules are violated.public void populateTopicMap(TopicMap map, TopicMapProvider provider) throws TopicMapProcessingException
map
- the TopicMap instance to be populatedprovider
- the TopicMapProvider instance that manages map
TopicMapProcessingException
public void populateTopicMap(TopicMap map, Topic[] addedThemes) throws TopicMapProcessingException
TopicMapProcessingException
public void populateTopicMap(TopicMap map, TopicMapProvider provider, Topic[] addedThemes) throws TopicMapProcessingException
TopicMapProcessingException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |