org.tm4j.topicmap.TopicMap .addExternalRef(org.tm4j.net.Locator topicRef)
Description
Adds an external reference from this topic map to another topic map.
An external reference represents a
Parameters | ||
---|---|---|
org.tm4j.net.Locator | topicRef |
The external locator to be added. If the referenced resource is already contained as an external reference or as a merge map, it will not be added. For the purposes of this check, the fragment and query parts of a URILocator are ignored, and only the reference to the complete document will be stored For example if the reference is to http://www.tm4j.org/example.xtm#topic1, the locator which is tested for and stored will be http://www.tm4j.org/example.xtm This means that multiple references to different topics in the same external topic map will only ever create one external reference. For other locator notations the complete address is used for this test. |