org.tm4j.topicmap.TopicMapProviderBase .addTopicMap(java.io.InputStream srcStream,org.tm4j.net.Locator baseLocator,org.tm4j.topicmap.TopicMap existingTopicMap,org.tm4j.topicmap.Topic[] addedThemes)
Description
A convenience method returning the added TopicMap. See #addTopicMap(InputStream,Locator,TopicMap,Topic[],TopicMapBuilder) .
Parameters | ||
---|---|---|
org.tm4j.topicmap.Topic | addedThemes | Optional themes to be added to the resulting TopicMap. |
org.tm4j.net.Locator | baseLocator | The base URL 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 srcStream
will be merged with existingTopicMap and no
new TopicMap object will be created.
|
java.io.InputStream | srcStream | The InputStream of the data to be read. |
Meta Data (2)
Deprecation Notice
:
from 0.9.0 use {@link #addTopicMap(TopicMapSource, TopicMap, Topic[])}
Other Resources
Related Topics
Has Parameters