/[fenfire]/fenfire/org/fenfire/util/RDFUtil.java
ViewVC logotype

Diff of /fenfire/org/fenfire/util/RDFUtil.java

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

revision 1.13 by tjl, Wed Jun 11 17:00:24 2003 UTC revision 1.14 by mudyc, Mon Jul 7 22:56:06 2003 UTC
# Line 81  public class RDFUtil { Line 81  public class RDFUtil {
81                      Integer.toString(val)));                      Integer.toString(val)));
82      }      }
83    
84        /** Special call for structure linked vocabulary to test if node is linked.
85         * @see STRUCTLINK
86         */
87        public boolean isLinked(Graph graph, Object node) {
88            Iterator it = graph.findN_11X_Iter(node, STRUCTLINK.linkedTo);
89            if (it.hasNext()) return true;
90            it = graph.findN_X11_Iter(STRUCTLINK.linkedTo, node);
91            if (it.hasNext()) return true;
92            return false;
93        }
94    
95    
96    
97    
98    
99    
100    
101    
102    
103    
104    
105    
106    
107    
108    
109    
110    
111    
112    
113    
114    
115    
116      /** Split node to two nodes. Enfilade is splitted in ind,      /** Split node to two nodes. Enfilade is splitted in ind,
117       * i.e. (node, [foobar]) will be with ind 2 be splitted to       * i.e. (node, [foobar]) will be with ind 2 be splitted to
# Line 88  public class RDFUtil { Line 119  public class RDFUtil {
119       * be copied to split.       * be copied to split.
120       *       *
121       * @return the new node       * @return the new node
122         * @deprecated
123       */       */
124      static public Object splitNode(Fen fen, Object node, int ind) {      static public Object splitNode(Fen fen, Object node, int ind) {
125          Object split = Nodes.N();          Object split = Nodes.N();

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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