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

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

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

revision 1.10 by mudyc, Thu Mar 27 09:06:19 2003 UTC revision 1.11 by mudyc, Thu Mar 27 09:10:26 2003 UTC
# Line 84  public static final String rcsid = "$Id$ Line 84  public static final String rcsid = "$Id$
84          if (object == null) {          if (object == null) {
85              return model.createResource(uri);              return model.createResource(uri);
86          } else {          } else {
             pa("JOU!"+object);  
87              Resource res = model.createResource(uri);              Resource res = model.createResource(uri);
88              res.addProperty(RDF.type, (Resource)object);              res.addProperty(RDF.type, (Resource)object);
89              return res;              return res;
# Line 118  public static final String rcsid = "$Id$ Line 117  public static final String rcsid = "$Id$
117    
118          ((Resource)node).addProperty(property, res);          ((Resource)node).addProperty(property, res);
119          res.addProperty(RDF.type, (Resource)type);          res.addProperty(RDF.type, (Resource)type);
120    
121            if(!isNodeType(model, res, type)) throw new Error("ARGH");
122    
123          return res;          return res;
124    
125      } catch (RDFException e) {      } catch (RDFException e) {

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

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