xref: /aoo41x/main/offapi/com/sun/star/rdf/URIs.idl (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#ifndef __com_sun_star_rdf_URIs_idl__
29#define __com_sun_star_rdf_URIs_idl__
30
31
32//=============================================================================
33
34module com {   module sun {   module star {   module rdf {
35
36
37//=============================================================================
38/** Constants to specify some well-known URIs.
39
40    <p>
41    These constants are for use with <member>URI::createKnown</member>.
42    </p>
43
44    @since OOo 3.2
45
46    @see URI::createKnown
47 */
48constants URIs
49{
50    /// http://www.w3.org/2001/XMLSchema-datatypes#NCName
51    const short XSD_NCNAME              =  1;
52    /// http://www.w3.org/2001/XMLSchema-datatypes#string
53    const short XSD_STRING              =  2;
54    /// http://www.w3.org/2001/XMLSchema-datatypes#normalizedString
55    const short XSD_NORMALIZEDSTRING    =  3;
56    /// http://www.w3.org/2001/XMLSchema-datatypes#boolean
57    const short XSD_BOOLEAN             =  4;
58    /// http://www.w3.org/2001/XMLSchema-datatypes#decimal
59    const short XSD_DECIMAL             =  5;
60    /// http://www.w3.org/2001/XMLSchema-datatypes#float
61    const short XSD_FLOAT               =  6;
62    /// http://www.w3.org/2001/XMLSchema-datatypes#double
63    const short XSD_DOUBLE              =  7;
64    /// http://www.w3.org/2001/XMLSchema-datatypes#integer
65    const short XSD_INTEGER             =  8;
66    /// http://www.w3.org/2001/XMLSchema-datatypes#nonNegativeInteger
67    const short XSD_NONNEGATIVEINTEGER  =  9;
68    /// http://www.w3.org/2001/XMLSchema-datatypes#positiveInteger
69    const short XSD_POSITIVEINTEGER     = 10;
70    /// http://www.w3.org/2001/XMLSchema-datatypes#nonPositiveInteger
71    const short XSD_NONPOSITIVEINTEGER  = 11;
72    /// http://www.w3.org/2001/XMLSchema-datatypes#negativeInteger
73    const short XSD_NEGATIVEINTEGER     = 12;
74    /// http://www.w3.org/2001/XMLSchema-datatypes#long
75    const short XSD_LONG                = 13;
76    /// http://www.w3.org/2001/XMLSchema-datatypes#int
77    const short XSD_INT                 = 14;
78    /// http://www.w3.org/2001/XMLSchema-datatypes#short
79    const short XSD_SHORT               = 15;
80    /// http://www.w3.org/2001/XMLSchema-datatypes#byte
81    const short XSD_BYTE                = 16;
82    /// http://www.w3.org/2001/XMLSchema-datatypes#unsignedLong
83    const short XSD_UNSIGNEDLONG        = 17;
84    /// http://www.w3.org/2001/XMLSchema-datatypes#unsignedInt
85    const short XSD_UNSIGNEDINT         = 18;
86    /// http://www.w3.org/2001/XMLSchema-datatypes#unsignedShort
87    const short XSD_UNSIGNEDSHORT       = 19;
88    /// http://www.w3.org/2001/XMLSchema-datatypes#unsignedByte
89    const short XSD_UNSIGNEDBYTE        = 20;
90    /// http://www.w3.org/2001/XMLSchema-datatypes#hexBinary
91    const short XSD_HEXBINARY           = 21;
92    /// http://www.w3.org/2001/XMLSchema-datatypes#base64Binary
93    const short XSD_BASE64BINARY        = 22;
94    /// http://www.w3.org/2001/XMLSchema-datatypes#dateTime
95    const short XSD_DATETIME            = 23;
96    /// http://www.w3.org/2001/XMLSchema-datatypes#time
97    const short XSD_TIME                = 24;
98    /// http://www.w3.org/2001/XMLSchema-datatypes#date
99    const short XSD_DATE                = 25;
100    /// http://www.w3.org/2001/XMLSchema-datatypes#gYearMonth
101    const short XSD_GYEARMONTH          = 26;
102    /// http://www.w3.org/2001/XMLSchema-datatypes#gYear
103    const short XSD_GYEAR               = 27;
104    /// http://www.w3.org/2001/XMLSchema-datatypes#gMonthDay
105    const short XSD_GMONTHDAY           = 28;
106    /// http://www.w3.org/2001/XMLSchema-datatypes#gDay
107    const short XSD_GDAY                = 29;
108    /// http://www.w3.org/2001/XMLSchema-datatypes#gMonth
109    const short XSD_GMONTH              = 30;
110    /// http://www.w3.org/2001/XMLSchema-datatypes#anyURI
111    const short XSD_ANYURI              = 31;
112    /// http://www.w3.org/2001/XMLSchema-datatypes#token
113    const short XSD_TOKEN               = 32;
114    /// http://www.w3.org/2001/XMLSchema-datatypes#language
115    const short XSD_LANGUAGE            = 33;
116    /// http://www.w3.org/2001/XMLSchema-datatypes#NMTOKEN
117    const short XSD_NMTOKEN             = 34;
118    /// http://www.w3.org/2001/XMLSchema-datatypes#Name
119    const short XSD_NAME                = 35;
120    /// http://www.w3.org/2001/XMLSchema-datatypes#duration
121    const short XSD_DURATION            = 36;
122    /// http://www.w3.org/2001/XMLSchema-datatypes#QName
123    const short XSD_QNAME               = 37;
124    /// http://www.w3.org/2001/XMLSchema-datatypes#NOTATION
125    const short XSD_NOTATION            = 38;
126    /// http://www.w3.org/2001/XMLSchema-datatypes#NMTOKENS
127    const short XSD_NMTOKENS            = 39;
128    /// http://www.w3.org/2001/XMLSchema-datatypes#ID
129    const short XSD_ID                  = 40;
130    /// http://www.w3.org/2001/XMLSchema-datatypes#IDREF
131    const short XSD_IDREF               = 41;
132    /// http://www.w3.org/2001/XMLSchema-datatypes#IDREFS
133    const short XSD_IDREFS              = 42;
134    /// http://www.w3.org/2001/XMLSchema-datatypes#ENTITY
135    const short XSD_ENTITY              = 43;
136    /// http://www.w3.org/2001/XMLSchema-datatypes#ENTITIES
137    const short XSD_ENTITIES            = 44;
138
139    /// http://www.w3.org/1999/02/22-rdf-syntax-ns#type
140    const short RDF_TYPE        = 1000;
141    /// http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
142    const short RDF_SUBJECT     = 1001;
143    /// http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate
144    const short RDF_PREDICATE   = 1002;
145    /// http://www.w3.org/1999/02/22-rdf-syntax-ns#object
146    const short RDF_OBJECT      = 1003;
147    /// http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
148    const short RDF_PROPERTY    = 1004;
149    /// http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement
150    const short RDF_STATEMENT   = 1005;
151    /// http://www.w3.org/1999/02/22-rdf-syntax-ns#value
152    const short RDF_VALUE       = 1006;
153    /// http://www.w3.org/1999/02/22-rdf-syntax-ns#first
154    const short RDF_FIRST       = 1007;
155    /// http://www.w3.org/1999/02/22-rdf-syntax-ns#rest
156    const short RDF_REST        = 1008;
157    /// http://www.w3.org/1999/02/22-rdf-syntax-ns#nil
158    const short RDF_NIL         = 1009;
159    /// http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral
160    const short RDF_XMLLITERAL  = 1010;
161    /// http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt
162    const short RDF_ALT         = 1011;
163    /// http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag
164    const short RDF_BAG         = 1012;
165    /// http://www.w3.org/1999/02/22-rdf-syntax-ns#List
166    const short RDF_LIST        = 1013;
167    /// http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq
168    const short RDF_SEQ         = 1014;
169    /// http://www.w3.org/1999/02/22-rdf-syntax-ns#_1
170    const short RDF_1           = 1015;
171    /* hmm... that's a lot of potential constants:
172    _n where n is a decimal integer greater than zero with no leading zeros.
173    */
174
175    /// http://www.w3.org/2000/01/rdf-schema#comment
176    const short RDFS_COMMENT                        = 1100;
177    /// http://www.w3.org/2000/01/rdf-schema#label
178    const short RDFS_LABEL                          = 1101;
179    /// http://www.w3.org/2000/01/rdf-schema#domain
180    const short RDFS_DOMAIN                         = 1102;
181    /// http://www.w3.org/2000/01/rdf-schema#range
182    const short RDFS_RANGE                          = 1103;
183    /// http://www.w3.org/2000/01/rdf-schema#subClassOf
184    const short RDFS_SUBCLASSOF                     = 1104;
185    /// http://www.w3.org/2000/01/rdf-schema#Literal
186    const short RDFS_LITERAL                        = 1105;
187    /// http://www.w3.org/2000/01/rdf-schema#member
188    const short RDFS_MEMBER                         = 1106;
189    /// http://www.w3.org/2000/01/rdf-schema#subPropertyOf
190    const short RDFS_SUBPROPERTYOF                  = 1107;
191    /// http://www.w3.org/2000/01/rdf-schema#isDefinedBy
192    const short RDFS_ISDEFINEDBY                    = 1108;
193    /// http://www.w3.org/2000/01/rdf-schema#seeAlso
194    const short RDFS_SEEALSO                        = 1109;
195    /// http://www.w3.org/2000/01/rdf-schema#Resource
196    const short RDFS_RESOURCE                       = 1110;
197    /// http://www.w3.org/2000/01/rdf-schema#Class
198    const short RDFS_CLASS                          = 1111;
199    /// http://www.w3.org/2000/01/rdf-schema#Datatype
200    const short RDFS_DATATYPE                       = 1112;
201    /// http://www.w3.org/2000/01/rdf-schema#Container
202    const short RDFS_CONTAINER                      = 1113;
203    /// http://www.w3.org/2000/01/rdf-schema#ContainerMembershipProperty
204    const short RDFS_CONTAINERMEMBERSHIPPROPERTY    = 1114;
205
206    /// http://www.w3.org/2002/07/owl#Class
207    const short OWL_CLASS                       = 1200;
208    /// http://www.w3.org/2002/07/owl#ObjectProperty
209    const short OWL_OBJECTPROPERTY              = 1201;
210    /// http://www.w3.org/2002/07/owl#DatatypeProperty
211    const short OWL_DATATYPEPROPERTY            = 1202;
212    /// http://www.w3.org/2002/07/owl#FunctionalProperty
213    const short OWL_FUNCTIONALPROPERTY          = 1203;
214    /// http://www.w3.org/2002/07/owl#Thing
215    const short OWL_THING                       = 1204;
216    /// http://www.w3.org/2002/07/owl#Nothing
217    const short OWL_NOTHING                     = 1205;
218    /// http://www.w3.org/2002/07/owl#Individual
219    const short OWL_INDIVIDUAL                  = 1206;
220    /// http://www.w3.org/2002/07/owl#equivalentClass
221    const short OWL_EQUIVALENTCLASS             = 1207;
222    /// http://www.w3.org/2002/07/owl#equivalentProperty
223    const short OWL_EQUIVALENTPROPERTY          = 1208;
224    /// http://www.w3.org/2002/07/owl#sameAs
225    const short OWL_SAMEAS                      = 1209;
226    /// http://www.w3.org/2002/07/owl#differentFrom
227    const short OWL_DIFFERENTFROM               = 1210;
228    /// http://www.w3.org/2002/07/owl#AllDifferent
229    const short OWL_ALLDIFFERENT                = 1211;
230    /// http://www.w3.org/2002/07/owl#distinctMembers
231    const short OWL_DISTINCTMEMBERS             = 1212;
232    /// http://www.w3.org/2002/07/owl#inverseOf
233    const short OWL_INVERSEOF                   = 1213;
234    /// http://www.w3.org/2002/07/owl#TransitiveProperty
235    const short OWL_TRANSITIVEPROPERTY          = 1214;
236    /// http://www.w3.org/2002/07/owl#SymmetricProperty
237    const short OWL_SYMMETRICPROPERTY           = 1215;
238    /// http://www.w3.org/2002/07/owl#InverseFunctionalProperty
239    const short OWL_INVERSEFUNCTIONALPROPERTY   = 1216;
240    /// http://www.w3.org/2002/07/owl#Restriction
241    const short OWL_RESTRICTION                 = 1217;
242    /// http://www.w3.org/2002/07/owl#onProperty
243    const short OWL_ONPROPERTY                  = 1218;
244    /// http://www.w3.org/2002/07/owl#allValuesFrom
245    const short OWL_ALLVALUESFROM               = 1219;
246    /// http://www.w3.org/2002/07/owl#someValuesFrom
247    const short OWL_SOMEVALUESFROM              = 1220;
248    /// http://www.w3.org/2002/07/owl#minCardinality
249    const short OWL_MINCARDINALITY              = 1221;
250    /// http://www.w3.org/2002/07/owl#maxCardinality
251    const short OWL_MAXCARDINALITY              = 1222;
252    /// http://www.w3.org/2002/07/owl#cardinality
253    const short OWL_CARDINALITY                 = 1223;
254    /// http://www.w3.org/2002/07/owl#Ontology
255    const short OWL_ONTOLOGY                    = 1224;
256    /// http://www.w3.org/2002/07/owl#imports
257    const short OWL_IMPORTS                     = 1225;
258    /// http://www.w3.org/2002/07/owl#versionInfo
259    const short OWL_VERSIONINFO                 = 1226;
260    /// http://www.w3.org/2002/07/owl#priorVersion
261    const short OWL_PRIORVERSION                = 1227;
262    /// http://www.w3.org/2002/07/owl#backwardCompatibleWith
263    const short OWL_BACKWARDCOMPATIBLEWITH      = 1228;
264    /// http://www.w3.org/2002/07/owl#incompatibleWith
265    const short OWL_INCOMPATIBLEWITH            = 1229;
266    /// http://www.w3.org/2002/07/owl#DeprecatedClass
267    const short OWL_DEPRECATEDCLASS             = 1230;
268    /// http://www.w3.org/2002/07/owl#DeprecatedProperty
269    const short OWL_DEPRECATEDPROPERTY          = 1231;
270    /// http://www.w3.org/2002/07/owl#AnnotationProperty
271    const short OWL_ANNOTATIONPROPERTY          = 1232;
272    /// http://www.w3.org/2002/07/owl#OntologyProperty
273    const short OWL_ONTOLOGYPROPERTY            = 1233;
274    /// http://www.w3.org/2002/07/owl#oneOf
275    const short OWL_ONEOF                       = 1234;
276    /// http://www.w3.org/2002/07/owl#dataRange
277    const short OWL_DATARANGE                   = 1235;
278    /// http://www.w3.org/2002/07/owl#disjointWith
279    const short OWL_DISJOINTWITH                = 1236;
280    /// http://www.w3.org/2002/07/owl#unionOf
281    const short OWL_UNIONOF                     = 1237;
282    /// http://www.w3.org/2002/07/owl#complementOf
283    const short OWL_COMPLEMENTOF                = 1238;
284    /// http://www.w3.org/2002/07/owl#intersectionOf
285    const short OWL_INTERSECTIONOF              = 1239;
286    /// http://www.w3.org/2002/07/owl#hasValue
287    const short OWL_HASVALUE                    = 1240;
288
289    /// http://docs.oasis-open.org/ns/office/1.2/meta/pkg#hasPart
290    const short PKG_HASPART         = 2000;
291/* REMOVED
292    /// http://docs.oasis-open.org/ns/office/1.2/meta/pkg#idref
293    const short PKG_IDREF       = 2001;
294    /// http://docs.oasis-open.org/ns/office/1.2/meta/pkg#path
295    const short PKG_PATH        = 2002;
296*/
297    /// http://docs.oasis-open.org/ns/office/1.2/meta/pkg#mimeType
298    const short PKG_MIMETYPE        = 2003;
299    /// http://docs.oasis-open.org/ns/office/1.2/meta/pkg#Package
300    const short PKG_PACKAGE         = 2004;
301    /// http://docs.oasis-open.org/ns/office/1.2/meta/pkg#Element
302    const short PKG_ELEMENT         = 2005;
303    /// http://docs.oasis-open.org/ns/office/1.2/meta/pkg#File
304    const short PKG_FILE            = 2006;
305    /// http://docs.oasis-open.org/ns/office/1.2/meta/pkg#MetadataFile
306    const short PKG_METADATAFILE    = 2007;
307    /// http://docs.oasis-open.org/ns/office/1.2/meta/pkg#Document
308    const short PKG_DOCUMENT        = 2008;
309
310    /// http://docs.oasis-open.org/ns/office/1.2/meta/odf#prefix
311    const short ODF_PREFIX          = 2100;
312    /// http://docs.oasis-open.org/ns/office/1.2/meta/odf#suffix
313    const short ODF_SUFFIX          = 2101;
314    /// http://docs.oasis-open.org/ns/office/1.2/meta/odf#Element
315    const short ODF_ELEMENT         = 2102;
316    /// http://docs.oasis-open.org/ns/office/1.2/meta/odf#ContentFile
317    const short ODF_CONTENTFILE     = 2103;
318    /// http://docs.oasis-open.org/ns/office/1.2/meta/odf#StylesFile
319    const short ODF_STYLESFILE      = 2104;
320/* REMOVED
321    /// http://docs.oasis-open.org/ns/office/1.2/meta/odf#MetadataFile
322    const short ODF_METADATAFILE    = 2105;
323*/
324
325    /// urn:oasis:names:tc:opendocument:xmlns:text:1.0meta-field
326//    const short TEXT_META_FIELD = 3000;
327};
328
329//=============================================================================
330
331}; }; }; };
332
333#endif
334