[topicmapmail] RE: Can you help with XTMSerializer ??
Lars Heuer
heuer at semagia.com
Fri Nov 3 10:36:55 EST 2006
Hi Darina,
[...]
> I do use org.tmapi.index in my utility methods, but I cannot see an
> index method that can directly return the name of a topic within a
> scope, e.g. the unconstrained scope - I presume that this is the
No, you can only query either all ScopedObjects which do not have a
scope (unconstrained scope) or TopicNames by value and type. There is
no possibilty to query only names in a particular scope.
> 'primary topic name' that the user uses as a topic label. I am using the following method:
> public static String getTopicDisplayName(Topic t, TopicMap tm)
> throws Exception {
[...]
> Is there a more direct way?
No, unfortunately not. But I think there is no reason why the method
should (or can) throw an exception.
Best regards,
Lars
--
http://www.semagia.com
http://www.topicgarden.com/mailinglist/ German Topic Maps mailinglist
More information about the topicmapmail
mailing list