From: Kal A. <ka...@te...> - 2004-09-13 17:13:26
|
Hi Richard The method you want is Topic.setSubject(Locator). See http://tm4j.org/org.tm4j.topicmap.Topic.setSubject_Locator_.html Cheers, Kal On Mon, 2004-09-13 at 16:05, Richard Gregory wrote: > Hi All, > > I've just been reading an article by Steve Pepper [1] on how topic maps have two ways of assigning > subject identity (and how this could be applied to RDF), to distinguish addressable and > non-addressable subjects. Addressable subjects can use <resourceRef>: > > <subjectIdentity> > <resourceRef/> > </subjectIdentity> > > and to distinguish, non-addressable subjects can use <subjectIndicatorRef> top refer to a PSI > > <subjectIdentity> > <subjectIndicatorRef/> > </subjectIdentity> > > The only method I have found in tm4j is topic.addSubjectIndicator() which add a subject indicator > to a topic with: > > <subjectIdentity> > <subjectIndicatorRef/> > </subjectIdentity> > > Is there any way, with tm4j, to create? > > <subjectIdentity> > <resourceRef/> > </subjectIdentity> > > Thanks, > > Richard > > 1 http://www.ontopia.net/topicmaps/materials/identitycrisis.html > > > > > > ___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users -- Kal Ahmed <ka...@te...> techquila |