org.tm4j.topicmap.TopicMapProvider .addTopicMap(org.tm4j.topicmap.source.TopicMapSource source,org.tm4j.topicmap.TopicMap existing,org.tm4j.topicmap.Topic[] addedThemes)
Description
Imports a topic map into the data store managed by this TopicMapProvider from the specified TopicMapSource
Parameters | ||
---|---|---|
org.tm4j.topicmap.Topic | addedThemes | themes to be added to the scope of each ScopedObject created by the import process. themes to be added to the scope of each ScopedObject created by the import process. |
org.tm4j.topicmap.TopicMap | existing |
If this parameter is not null, then the TopicMap object
passed in must be a TopicMap which is provided by this
TopicMapProvider. The topic map retrieved from source
will be merged with existing TopicMap and no
new TopicMap object will be created.
|
org.tm4j.topicmap.source.TopicMapSource | source | a implementation of the TopicMapSource interface representing a source for a TopicMap |
Throws
- org.tm4j.topicmap.TopicMapProviderException - if initialisation or access to the TopicMapSource fails
Returns
The new TopicMap object managed by the TopicMapProvider.
Meta Data (1)