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