[topicmapmail] RE: Can you help with XTMSerializer ??
Dicheva, Darina
dichevad at wssu.edu
Fri Nov 3 11:20:50 EST 2006
Hi Lars,
> 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.
It doesn't :-) I got TM4L running under TMAPI /not fully tested yet, but
in general it runs!/. I do use Stefan's Parser and Serializer. I did
have some problems but it turned out that they weren't due to bugs in
tmapi or tmapi utilities classes.
My concern was whether I am missing the most efficient way of accessing
the 'primary' name of a topic, since this is a very often used operation
...
Thanks to you and Stefan (Lischke) for the help and encouraging!
Darina
More information about the topicmapmail
mailing list