source: Dev/branches/rest-dojo-ui/server/rdfapi/vocabulary/ATOM_RES.php @ 274

Last change on this file since 274 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

File size: 2.9 KB
Line 
1<?php
2/**
3*   ATOM Vocabulary (Resource)
4*
5*   @version $Id: ATOM_RES.php 431 2007-05-01 15:49:19Z cweiske $
6*   @author Tobias Gauß (tobias.gauss@web.de)
7*   @package vocabulary
8*
9*   Wrapper, defining resources for all terms of the
10*   ATOM Vocabulary;.
11*   For details about ATOM see: http://semtext.org/atom/atom.html.
12*   Using the wrapper allows you to define all aspects of
13*   the vocabulary in one spot, simplifing implementation and
14*   maintainence.
15*/
16class ATOM_RES{
17
18        function TYPE()
19        {
20                return  new ResResource(ATOM_NS . 'type');
21
22        }
23
24        function MODE()
25        {
26                return  new ResResource(ATOM_NS . 'mode');
27
28        }
29
30        function NAME()
31        {
32                return  new ResResource(ATOM_NS . 'name');
33
34        }
35
36        function URL()
37        {
38                return  new ResResource(ATOM_NS . 'url');
39
40        }
41
42        function EMAIL()
43        {
44                return  new ResResource(ATOM_NS . 'email');
45
46        }
47
48        function REL()
49        {
50                return  new ResResource(ATOM_NS . 'rel');
51
52        }
53
54        function HREF()
55        {
56                return  new ResResource(ATOM_NS . 'href');
57
58        }
59
60        function TITLE()
61        {
62                return  new ResResource(ATOM_NS . 'title');
63
64        }
65
66        function ATOM_CONSTRUCT()
67        {
68                return  new ResResource(ATOM_NS . 'AtomConstruct');
69
70        }
71
72        function CONTENT()
73        {
74                return  new ResResource(ATOM_NS . 'Content');
75
76        }
77
78        function PERSON()
79        {
80                return  new ResResource(ATOM_NS . 'Person');
81
82        }
83
84        function VALUE()
85        {
86                return  new ResResource(ATOM_NS . 'value');
87
88        }
89
90        function LINK()
91        {
92                return  new ResResource(ATOM_NS . 'Link');
93
94        }
95
96        function FEED()
97        {
98                return  new ResResource(ATOM_NS . 'Feed');
99
100        }
101
102        function VERSION()
103        {
104                return  new ResResource(ATOM_NS . 'version');
105
106        }
107
108        function LANG()
109        {
110                return  new ResResource(ATOM_NS . 'lang');
111
112        }
113
114        function AUTHOR()
115        {
116                return  new ResResource(ATOM_NS . 'author');
117
118        }
119
120        function CONTRIBUTOR()
121        {
122                return  new ResResource(ATOM_NS . 'contributor');
123
124        }
125
126        function TAGLINE()
127        {
128                return  new ResResource(ATOM_NS . 'tagline');
129
130        }
131
132        function GENERATOR()
133        {
134                return  new ResResource(ATOM_NS . 'generator');
135
136        }
137
138        function COPYRIGHT()
139        {
140                return  new ResResource(ATOM_NS . 'copyright');
141
142        }
143
144        function INFO()
145        {
146                return  new ResResource(ATOM_NS . 'info');
147
148        }
149
150        function MODIFIED()
151        {
152                return  new ResResource(ATOM_NS . 'modified');
153
154        }
155
156        function ENTRY()
157        {
158                return  new ResResource(ATOM_NS . 'Entry');
159
160        }
161
162        function HAS_CHILD()
163        {
164                return  new ResResource(ATOM_NS . 'hasChild');
165
166        }
167
168        function HAS_ENTRY()
169        {
170                return  new ResResource(ATOM_NS . 'hasEntry');
171
172        }
173
174        function HAS_LINK()
175        {
176                return  new ResResource(ATOM_NS . 'hasLink');
177
178        }
179
180        function HAS_TITLE()
181        {
182                return  new ResResource(ATOM_NS . 'hasTitle');
183
184        }
185
186        function ISSUED()
187        {
188                return  new ResResource(ATOM_NS . 'issued');
189
190        }
191
192        function CREATED()
193        {
194                return  new ResResource(ATOM_NS . 'created');
195
196        }
197
198        function SUMMARY()
199        {
200                return  new ResResource(ATOM_NS . 'summary');
201        }
202}
203
204
205
206?>
Note: See TracBrowser for help on using the repository browser.