org.tm4j.topicmap.TopicMapObject .setResourceLocator(org.tm4j.net.Locator loc)
Description
Sets the Locator of the XML or other resource which caused the creation of this topic map object. Typically, this will be the Locator of an XTM element.
Parameters | ||
---|---|---|
org.tm4j.net.Locator | loc | the creating Locator. |
Throws
-
org.tm4j.topicmap.DuplicateResourceLocatorException
-
if
loc
is already assigned as a resource locator to some other topic map object.
Meta Data (2)
Deprecation Notice
:
From 0.9.0 use {@link #addSourceLocator(Locator)}
Other Resources
Related Topics
Has Parameters
loc
[
Parameter #1
]