KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > hp > hpl > jena > vocabulary > RDFSyntax


1 /*
2  * (c) Copyright 2002, 2003, 2004, 2005 Hewlett-Packard Development Company, LP
3  * All rights reserved.
4  * [See end of file]
5  * $Id: RDFSyntax.java,v 1.3 2005/02/21 12:21:35 andy_seaborne Exp $
6  */

7
8 package com.hp.hpl.jena.vocabulary;
9
10 import com.hp.hpl.jena.rdf.model.impl.ResourceImpl;
11
12
13 import com.hp.hpl.jena.rdf.model.Resource;
14 /**
15  * This class includes fragment IDs from the
16  * <a HREF="http://www.w3.org/TR/rdf-syntax-grammar">
17  * RDF Syntax WD</a>, to identify grammar rules etc.
18  * using in the Jena I/O routines.
19  * These URIs can be used in some options (specifically
20  * the configuration of the RDF/XML-ABBREV writer) to indicate
21  * behaviour concerning these rules.
22  * @author jjc
23  */

24 public class RDFSyntax {
25 protected static final String JavaDoc uri =
26     "http://www.w3.org/TR/rdf-syntax-grammar#";
27     static public String JavaDoc getURI() {
28         return uri;
29     }
30 static final public Resource coreSyntaxTerms = new ResourceImpl(uri+"coreSyntaxTerms");
31 static final public Resource syntaxTerms = new ResourceImpl(uri+"syntaxTerms");
32 static final public Resource oldTerms = new ResourceImpl(uri+"oldTerms");
33 static final public Resource nodeElementURIs = new ResourceImpl(uri+"nodeElementURIs");
34 static final public Resource propertyElementURIs = new ResourceImpl(uri+"propertyElementURIs");
35 static final public Resource propertyAttributeURIs = new ResourceImpl(uri+"propertyAttributeURIs");
36 static final public Resource doc = new ResourceImpl(uri+"doc");
37 static final public Resource RDF = new ResourceImpl(uri+"RDF");
38 static final public Resource nodeElementList = new ResourceImpl(uri+"nodeElementList");
39 static final public Resource nodeElement = new ResourceImpl(uri+"nodeElement");
40 static final public Resource ws = new ResourceImpl(uri+"ws");
41 static final public Resource propertyEltList = new ResourceImpl(uri+"propertyEltList");
42 static final public Resource propertyElt = new ResourceImpl(uri+"propertyElt");
43 static final public Resource resourcePropertyElt = new ResourceImpl(uri+"resourcePropertyElt");
44 static final public Resource literalPropertyElt = new ResourceImpl(uri+"literalPropertyElt");
45 static final public Resource parseTypeLiteralPropertyElt = new ResourceImpl(uri+"parseTypeLiteralPropertyElt");
46 static final public Resource parseTypeResourcePropertyElt = new ResourceImpl(uri+"parseTypeResourcePropertyElt");
47 static final public Resource parseTypeCollectionPropertyElt = new ResourceImpl(uri+"parseTypeCollectionPropertyElt");
48 static final public Resource parseTypeOtherPropertyElt = new ResourceImpl(uri+"parseTypeOtherPropertyElt");
49 static final public Resource emptyPropertyElt = new ResourceImpl(uri+"emptyPropertyElt");
50 static final public Resource idAttr = new ResourceImpl(uri+"idAttr");
51 static final public Resource nodeIdAttr = new ResourceImpl(uri+"nodeIdAttr");
52 static final public Resource aboutAttr = new ResourceImpl(uri+"aboutAttr");
53 static final public Resource bagIdAttr = new ResourceImpl(uri+"bagIdAttr");
54 static final public Resource propertyAttr = new ResourceImpl(uri+"propertyAttr");
55 static final public Resource resourceAttr = new ResourceImpl(uri+"resourceAttr");
56 static final public Resource datatypeAttr = new ResourceImpl(uri+"datatypeAttr");
57 static final public Resource parseLiteral = new ResourceImpl(uri+"parseLiteral");
58 static final public Resource parseResource = new ResourceImpl(uri+"parseResource");
59 static final public Resource parseCollection = new ResourceImpl(uri+"parseCollection");
60 static final public Resource parseOther = new ResourceImpl(uri+"parseOther");
61 static final public Resource URIReference = new ResourceImpl(uri+"URI-reference");
62 static final public Resource literal = new ResourceImpl(uri+"literal");
63 static final public Resource rdfId = new ResourceImpl(uri+"rdf-id");
64     static final public Resource sectionReification = new ResourceImpl(uri+"section-Reification");
65     static final public Resource sectionListExpand = new ResourceImpl(uri+"section-List-Expand");
66
67 }
68
69 /*
70  * (c) Copyright 2000, 2001, 2003, 2004, 2005 Hewlett-Packard Development Company, LP
71  * All rights reserved.
72  *
73  * Redistribution and use in source and binary forms, with or without
74  * modification, are permitted provided that the following conditions
75  * are met:
76  * 1. Redistributions of source code must retain the above copyright
77  * notice, this list of conditions and the following disclaimer.
78  * 2. Redistributions in binary form must reproduce the above copyright
79  * notice, this list of conditions and the following disclaimer in the
80  * documentation and/or other materials provided with the distribution.
81  * 3. The name of the author may not be used to endorse or promote products
82  * derived from this software without specific prior written permission.
83
84  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
85  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
86  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
87  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
88  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
89  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
90  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
91  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
92  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
93  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
94  *
95  * RDF.java
96  *
97  * Created on 28 July 2000, 18:12
98  */

99
Popular Tags