net.ontopia.topicmaps.utils
Class IdentityUtils

java.lang.Object
  extended by net.ontopia.topicmaps.utils.IdentityUtils

public class IdentityUtils
extends java.lang.Object

INTERNAL: Utilities for working with identities of topic map objects.

Since:
3.4.4

Constructor Summary
IdentityUtils()
           
 
Method Summary
static java.util.Collection<TopicIF> findSameTopic(TopicMapIF topicmap, TopicIF topic)
          INTERNAL: Returns the topic or topics with overlapping identities in the given topic map.
static TMObjectIF getObjectBySymbolicId(TopicMapIF topicmap, java.lang.String symbolicId)
          INTERNAL: Looks up a topic map object by its symbolic id.
static LocatorIF getSymbolicIdLocator(TopicMapIF topicmap, java.lang.String symbolicId)
          INTERNAL: Expands a symbolic id into a LocatorIF based on the base locator of the given topic map..
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityUtils

public IdentityUtils()
Method Detail

getObjectBySymbolicId

public static TMObjectIF getObjectBySymbolicId(TopicMapIF topicmap,
                                               java.lang.String symbolicId)
INTERNAL: Looks up a topic map object by its symbolic id.


getSymbolicIdLocator

public static LocatorIF getSymbolicIdLocator(TopicMapIF topicmap,
                                             java.lang.String symbolicId)
INTERNAL: Expands a symbolic id into a LocatorIF based on the base locator of the given topic map..


findSameTopic

public static java.util.Collection<TopicIF> findSameTopic(TopicMapIF topicmap,
                                                          TopicIF topic)
INTERNAL: Returns the topic or topics with overlapping identities in the given topic map. The topic argument should of course come from a different topic map.

Since:
4.0


Copyright © 2000-2012 Ontopia.