org.tm4j.topicmap.TopicMapUtils .getSortName(org.tm4j.topicmap.Topic topic,org.tm4j.topicmap.Topic[] inScope)

Description

Returns a string which may be used as a sort name in the specified scope. If a variant name with a parameter of 'sort' exists in the specified scope, then that variant's name string is returned. Otherwise a base name in the specified scope is sought and if found, then the base name string is returned. Finally a base name in the unconstrained scope is sought and that name string returned. If all of these searches fail, null is returned.

Parameters
org.tm4j.topicmap.Topic inScope
org.tm4j.topicmap.Topic topic

Other Resources

Related Topics