org.tm4j.topicmap.TopicMapUtils .getDisplayName(org.tm4j.topicmap.Topic topic,org.tm4j.topicmap.Topic[] inScope)
Description
Returns a string which may be used as a display name in the specified scope. If a variant name with a parameter of 'display' 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 |
Meta Data (1)