Syndication

dublincorevocab.h
1 /*
2  This file is part of the syndication library
3  SPDX-FileCopyrightText: 2006 Frank Osterfeld <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.0-or-later
6 */
7 
8 #ifndef SYNDICATION_RDF_DUBLINCOREVOCAB_H
9 #define SYNDICATION_RDF_DUBLINCOREVOCAB_H
10 
11 #include <syndication/rdf/property.h>
12 
13 class QString;
14 
15 namespace Syndication
16 {
17 namespace RDF
18 {
19 /**
20  * Singleton holding RDF class and property constants of the Dublin Core
21  * vocabulary. See http://dublincore.org/documents/dces/ for a
22  * specification.
23  *
24  * @author Frank Osterfeld
25  */
26 class SYNDICATION_EXPORT DublinCoreVocab
27 {
28 public:
29  /**
30  * returns the singleton instance
31  */
32  static DublinCoreVocab *self();
33 
34  /**
35  * destructor
36  */
37  ~DublinCoreVocab();
38 
39  /**
40  * the namespace of the Dublin Core vocabulary,
41  * http://purl.org/dc/elements/1.1/
42  */
43  const QString &namespaceURI() const;
44 
45  /**
46  * dc:contributor property. See DublinCore::contributor() for
47  * an explanation.
48  */
49  PropertyPtr contributor() const;
50 
51  /**
52  * dc:creator property. See DublinCore::creator() for
53  * an explanation.
54  */
55  PropertyPtr creator() const;
56 
57  /**
58  * dc:coverage property. See DublinCore::coverage() for
59  * an explanation.
60  */
61  PropertyPtr coverage() const;
62 
63  /**
64  * dc:date property. See DublinCore::date() for
65  * an explanation.
66  */
67  PropertyPtr date() const;
68 
69  /**
70  * dc:description property. See DublinCore::description() for
71  * an explanation.
72  */
73  PropertyPtr description() const;
74 
75  /**
76  * dc:format property. See DublinCore::format() for
77  * an explanation.
78  */
79  PropertyPtr format() const;
80 
81  /**
82  * dc:identifier property. See DublinCore::identifier() for
83  * an explanation.
84  */
85  PropertyPtr identifier() const;
86 
87  /**
88  * dc:language property. See DublinCore::language() for
89  * an explanation.
90  */
91  PropertyPtr language() const;
92 
93  /**
94  * dc:publisher property. See DublinCore::publisher() for
95  * an explanation.
96  */
97  PropertyPtr publisher() const;
98 
99  /**
100  * dc:relation property. See DublinCore::relation() for
101  * an explanation.
102  */
103  PropertyPtr relation() const;
104 
105  /**
106  * dc:rights property. See DublinCore::rights() for
107  * an explanation.
108  */
109  PropertyPtr rights() const;
110 
111  /**
112  * dc:source property. See DublinCore::source() for
113  * an explanation.
114  */
115  PropertyPtr source() const;
116 
117  /**
118  * dc:subject property. See DublinCore::subject() for
119  * an explanation.
120  */
121  PropertyPtr subject() const;
122 
123  /**
124  * dc:title property. See DublinCore::title() for
125  * an explanation.
126  */
127  PropertyPtr title() const;
128 
129  /**
130  * dc:type property. See DublinCore::type() for
131  * an explanation.
132  */
133  PropertyPtr type() const;
134 
135 private:
136  SYNDICATION_NO_EXPORT DublinCoreVocab();
137  Q_DISABLE_COPY(DublinCoreVocab)
138 
139  class DublinCoreVocabPrivate;
140  DublinCoreVocabPrivate *const d;
141 };
142 
143 } // namespace RDF
144 } // namespace Syndication
145 
146 #endif // SYNDICATION_RDF_DUBLINCOREVOCAB_H
Type type(const QSqlDatabase &db)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Nov 28 2023 03:57:59 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.