/[fenfire]/fenfire/org/fenfire/index/impl/SpaceXuIndexer.java
ViewVC logotype

Diff of /fenfire/org/fenfire/index/impl/SpaceXuIndexer.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by tjl, Tue Apr 15 16:02:08 2003 UTC revision 1.7 by tjl, Tue May 13 03:14:23 2003 UTC
# Line 89  public static final String rcsid = "$Id$ Line 89  public static final String rcsid = "$Id$
89       *                                       '--ALPH:xuLinkTo-> enfilade       *                                       '--ALPH:xuLinkTo-> enfilade
90       */       */
91      public void add(XuLink l) {      public void add(XuLink l) {
92          Object idnode = RDFUtil.N(fen, ALPH.xuType);          Object idnode = RDFUtil.N(fen, CONTENTLINK.Link);
93    
94          Literal from = ((org.fenfire.impl.SimpleNodeContent)fen.txt)          Literal from = ((org.fenfire.impl.SimpleNodeContent)fen.txt)
95                              .literalFromEnfilade(l.from);                              .literalFromEnfilade(l.from);
96          Literal to = ((org.fenfire.impl.SimpleNodeContent)fen.txt)          Literal to = ((org.fenfire.impl.SimpleNodeContent)fen.txt)
97                              .literalFromEnfilade(l.to);                              .literalFromEnfilade(l.to);
98    
99          fen.graph.add(idnode, ALPH.xuLinkFrom, from);          fen.graph.add(idnode, CONTENTLINK.from, from);
100          fen.graph.add(idnode, ALPH.xuLinkTo, to);          fen.graph.add(idnode, CONTENTLINK.to, to);
101    
102      }      }
103    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26