existingTopicMap
is not null, then the return value
from the function will be the same object as is passed in
existingTopicMap
.
If existingTopicMap
is null, then a new TopicMap object will
be returned.Imports a topic map in XTM syntax into the data store managed by this TopicMapProvider
Parameters | ||
---|---|---|
org.tm4j.net.Locator | baseLocator | The base address to assign to the generated topic map only if the parsed topic map does not specify its own base address internally. The base address to assign to the generated topic map only if the parsed topic map does not have an xml:base attribute on its root element. |
org.tm4j.topicmap.TopicMap | existingTopicMap |
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 parsed from src
will be merged with existingTopicMap and no
new TopicMap object will be created.
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 parsed from src
will be merged with existingTopicMap and no
new TopicMap object will be created.
|
java.io.InputStream | src | The InputStream of the XTM data to be read. The InputStream of the topic map data to be read. |
existingTopicMap
is not null, then the return value
from the function will be the same object as is passed in
existingTopicMap
.
If existingTopicMap
is null, then a new TopicMap object will
be returned.