KickJava   Java API By Example, From Geeks To Geeks.

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


1 /* Vocabulary Class generated by Jena vocabulary generator
2  *
3  * Version $Id: LABEL.java 928 2003-08-12 16:59:44Z leo $
4  * On: Mon Jul 14 03:27:07 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.Model;
12 import com.hp.hpl.mesa.rdf.jena.model.Resource;
13 import com.hp.hpl.mesa.rdf.jena.model.Property;
14 import com.hp.hpl.mesa.rdf.jena.model.RDFException;
15
16 /** LABEL vocabulary class for namespace http://snipsnap.org/rdf/label-schema#
17  */

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

25     public static String JavaDoc getURI() {
26           return uri;
27     }
28            static String JavaDoc nSnipLabel = "SnipLabel";
29     public static Resource SnipLabel;
30            static String JavaDoc nTypeLabel = "TypeLabel";
31     public static Resource TypeLabel;
32            static String JavaDoc nsnipLabels = "snipLabels";
33     public static Property snipLabels;
34
35     static {
36         try {
37             SnipLabel = new ResourceImpl(uri, nSnipLabel);
38             TypeLabel = new ResourceImpl(uri, nTypeLabel);
39             snipLabels = new PropertyImpl(uri, nsnipLabels);
40         } catch (Exception JavaDoc e) {
41             ErrorHelper.logInternalError("RDF", 1, e);
42         }
43     }
44 }
45
Popular Tags