KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > snipsnap > serialization > rdf > vocabulary > SNIP


1 /* Vocabulary Class generated by Jena vocabulary generator
2  *
3  * Version $Id: SNIP.java 1776 2004-11-08 08:37:03Z leo $
4  * On: Mon Jul 14 00:26:57 CEST 2003
5  */

6 package org.snipsnap.serialization.rdf.vocabulary;
7
8 import com.hp.hpl.mesa.rdf.jena.common.ErrorHelper;
9 import com.hp.hpl.mesa.rdf.jena.common.PropertyImpl;
10 import com.hp.hpl.mesa.rdf.jena.common.ResourceImpl;
11 import com.hp.hpl.mesa.rdf.jena.model.Property;
12 import com.hp.hpl.mesa.rdf.jena.model.Resource;
13
14 /** SNIP vocabulary class for namespace http://snipsnap.org/rdf/snip-schema#
15  */

16 public class SNIP {
17
18   protected static final String JavaDoc uri = "http://snipsnap.org/rdf/snip-schema#";
19
20   /** returns the URI for this schema
21    * @return the URI for this schema
22    */

23   public static String JavaDoc getURI() {
24     return uri;
25   }
26
27   static String JavaDoc nComment = "Comment";
28   public static Resource Comment;
29   static String JavaDoc nSnip = "Snip";
30   public static Resource Snip;
31   static String JavaDoc nAttachment = "Attachment";
32   public static Resource Attachment;
33   static String JavaDoc nLabel = "Label";
34   public static Resource Label;
35   static String JavaDoc nmUser = "mUser";
36   public static Property mUser;
37   static String JavaDoc ncomments = "comments";
38   public static Property comments;
39   static String JavaDoc ncommentedSnip = "commentedSnip";
40   public static Property commentedSnip;
41   static String JavaDoc nvalue = "value";
42   public static Property value;
43   static String JavaDoc nmTime = "mTime";
44   public static Property mTime;
45   static String JavaDoc nattachments = "attachments";
46   public static Property attachments;
47   static String JavaDoc nsnipLinks = "snipLinks";
48   public static Property snipLinks;
49   static String JavaDoc ntype = "type";
50   public static Property type;
51   static String JavaDoc noUser = "oUser";
52   public static Property oUser;
53   static String JavaDoc ncontent = "content";
54   public static Property content;
55   static String JavaDoc ndate = "date";
56   public static Property date;
57   static String JavaDoc ncontentType = "contentType";
58   public static Property contentType;
59   static String JavaDoc nfileName = "fileName";
60   public static Property fileName;
61   static String JavaDoc ncTime = "cTime";
62   public static Property cTime;
63   static String JavaDoc nsize = "size";
64   public static Property size;
65   static String JavaDoc nname = "name";
66   public static Property name;
67   static String JavaDoc ncUser = "cUser";
68   public static Property cUser;
69
70   static {
71     try {
72       Comment = new ResourceImpl(uri, nComment);
73       Snip = new ResourceImpl(uri, nSnip);
74       Attachment = new ResourceImpl(uri, nAttachment);
75       Label = new ResourceImpl(uri, nLabel);
76       mUser = new PropertyImpl(uri, nmUser);
77       comments = new PropertyImpl(uri, ncomments);
78       commentedSnip = new PropertyImpl(uri, ncommentedSnip);
79       value = new PropertyImpl(uri, nvalue);
80       mTime = new PropertyImpl(uri, nmTime);
81       attachments = new PropertyImpl(uri, nattachments);
82       snipLinks = new PropertyImpl(uri, nsnipLinks);
83       type = new PropertyImpl(uri, ntype);
84       oUser = new PropertyImpl(uri, noUser);
85       content = new PropertyImpl(uri, ncontent);
86       date = new PropertyImpl(uri, ndate);
87       contentType = new PropertyImpl(uri, ncontentType);
88       fileName = new PropertyImpl(uri, nfileName);
89       cTime = new PropertyImpl(uri, ncTime);
90       size = new PropertyImpl(uri, nsize);
91       name = new PropertyImpl(uri, nname);
92       cUser = new PropertyImpl(uri, ncUser);
93     } catch (Exception JavaDoc e) {
94       ErrorHelper.logInternalError("RDF", 1, e);
95     }
96   }
97 }
98
Popular Tags