01: /*
02: (c) Copyright 2000, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
03: [See end of file]
04: $Id: RSS.java,v 1.12 2008/01/02 12:07:28 andy_seaborne Exp $
05: */
06:
07: package com.hp.hpl.jena.vocabulary;
08:
09: import com.hp.hpl.jena.rdf.model.*;
10:
11: /**
12: The standard RSS vocavulary.
13: @author bwm + kers
14: @version Release='$Name: $' Revision='$Revision: 1.12 $' Date='$Date: 2008/01/02 12:07:28 $'
15: */
16: public class RSS extends Object {
17:
18: protected static final String uri = "http://purl.org/rss/1.0/";
19:
20: /** returns the URI for this schema
21: @return the URI for this schema
22: */
23: public static String getURI() {
24: return uri;
25: }
26:
27: public static final Resource channel = ResourceFactory
28: .createResource(uri + "channel");
29: public static final Resource item = ResourceFactory
30: .createResource(uri + "item");
31:
32: public static final Property description = ResourceFactory
33: .createProperty(uri, "description");
34: public static final Property image = ResourceFactory
35: .createProperty(uri, "image");
36: public static final Property items = ResourceFactory
37: .createProperty(uri, "items");
38: public static final Property link = ResourceFactory.createProperty(
39: uri, "link");
40: public static final Property name = ResourceFactory.createProperty(
41: uri, "name");
42: public static final Property textinput = ResourceFactory
43: .createProperty(uri, "textinput");
44: public static final Property title = ResourceFactory
45: .createProperty(uri, "title");
46: public static final Property url = ResourceFactory.createProperty(
47: uri, "url");
48:
49: }
50:
51: /*
52: * (c) Copyright 2000, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
53: * All rights reserved.
54: *
55: * Redistribution and use in source and binary forms, with or without
56: * modification, are permitted provided that the following conditions
57: * are met:
58: * 1. Redistributions of source code must retain the above copyright
59: * notice, this list of conditions and the following disclaimer.
60: * 2. Redistributions in binary form must reproduce the above copyright
61: * notice, this list of conditions and the following disclaimer in the
62: * documentation and/or other materials provided with the distribution.
63: * 3. The name of the author may not be used to endorse or promote products
64: * derived from this software without specific prior written permission.
65:
66: * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
67: * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
68: * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
69: * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
70: * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
71: * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
72: * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
73: * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
74: * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
75: * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
76: *
77: * RSS.java
78: *
79: * Created on 31 August 2000, 15:41
80: */
|