• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 API Reference
  • KDE Home
  • Contact Us
 

syndication/rdf

  • syndication
  • rdf
dublincore.h
1/*
2 * This file is part of the syndication library
3 *
4 * Copyright (C) 2006 Frank Osterfeld <osterfeld@kde.org>
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
20 *
21 */
22
23#ifndef SYNDICATION_RDF_DUBLINCORE_H
24#define SYNDICATION_RDF_DUBLINCORE_H
25
26#include <syndication/rdf/resourcewrapper.h>
27
28#include <ctime>
29
30class QString;
31class QStringList;
32
33namespace Syndication {
34namespace RDF {
35
36class Resource;
37//@cond PRIVATE
38typedef boost::shared_ptr<Resource> ResourcePtr;
39//@endcond
40
48class SYNDICATION_EXPORT DublinCore : public ResourceWrapper
49{
50 public:
51
57 explicit DublinCore(ResourcePtr resource);
58
62 virtual ~DublinCore();
63
69 QString title() const;
70
79 QString creator() const;
80
85 QStringList creators() const;
86
94 time_t date() const;
95
102 QString description() const;
103
112 QString subject() const;
113
118 QStringList subjects() const;
119
127 QString contributor() const;
128
133 QStringList contributors() const;
134
146 QString rights() const;
147
148
159 QString language() const;
160
161
174 QString coverage() const;
175
176
187 QString format() const;
188
199 QString identifier() const;
200
201
208 QString publisher() const;
209
216 QString relation() const;
217
226 QString source() const;
227
237 QString type() const;
238
245 QString debugInfo() const;
246};
247
248} // namespace RDF
249} // namespace Syndication
250
251#endif // SYNDICATION_RDF_DUBLINCORE_H
Syndication::RDF::DublinCore::language
QString language() const
"A language of the intellectual content of the resource.
Definition dublincore.cpp:114
Syndication::RDF::DublinCore::rights
QString rights() const
"Information about rights held in and over the resource.
Definition dublincore.cpp:129
Syndication::RDF::DublinCore::format
QString format() const
"The physical or digital manifestation of the resource.
Definition dublincore.cpp:104
Syndication::RDF::DublinCore::relation
QString relation() const
"A reference to a related resource.
Definition dublincore.cpp:124
Syndication::RDF::DublinCore::subject
QString subject() const
"The topic of the content of the resource.
Definition dublincore.cpp:139
Syndication::RDF::DublinCore::contributors
QStringList contributors() const
like contributor(), but returns all dc:contributor properties, not only one.
Definition dublincore.cpp:52
Syndication::RDF::DublinCore::publisher
QString publisher() const
"An entity responsible for making the resource available.
Definition dublincore.cpp:119
Syndication::RDF::DublinCore::contributor
QString contributor() const
"An entity responsible for making contributions to the content of the resource.
Definition dublincore.cpp:47
Syndication::RDF::DublinCore::debugInfo
QString debugInfo() const
returns a debug string describing the available DC metadata for debugging purposes
Definition dublincore.cpp:169
Syndication::RDF::DublinCore::coverage
QString coverage() const
"The extent or scope of the content of the resource.
Definition dublincore.cpp:67
Syndication::RDF::DublinCore::date
time_t date() const
"A date associated with an event in the life cycle of the resource.
Definition dublincore.cpp:92
Syndication::RDF::DublinCore::description
QString description() const
"An account of the content of the resource.
Definition dublincore.cpp:99
Syndication::RDF::DublinCore::creators
QStringList creators() const
like creator(), but returns all dc:creator properties, not only one.
Definition dublincore.cpp:77
Syndication::RDF::DublinCore::creator
QString creator() const
"An entity primarily responsible for making the content of the resource.
Definition dublincore.cpp:72
Syndication::RDF::DublinCore::source
QString source() const
A Reference to a resource from which the present resource is derived.
Definition dublincore.cpp:134
Syndication::RDF::DublinCore::identifier
QString identifier() const
"An unambiguous reference to the resource within a given context.
Definition dublincore.cpp:109
Syndication::RDF::DublinCore::type
QString type() const
"The nature or genre of the content of the resource.
Definition dublincore.cpp:164
Syndication::RDF::DublinCore::title
QString title() const
A name given to the resource.
Definition dublincore.cpp:159
Syndication::RDF::DublinCore::DublinCore
DublinCore(ResourcePtr resource)
creates a dublin core convenience wrapper for a resource
Definition dublincore.cpp:39
Syndication::RDF::DublinCore::subjects
QStringList subjects() const
like subject(), but returns all dc:subject properties, not only one.
Definition dublincore.cpp:144
Syndication::RDF::ResourceWrapper::ResourceWrapper
ResourceWrapper()
creates a wrapper wrapping a null resource, isNull() will be true.
Definition resourcewrapper.cpp:38
Syndication::RDF::ResourceWrapper::resource
ResourcePtr resource() const
returns the wrapped resource.
Definition resourcewrapper.cpp:75
Syndication::RDF::Resource
Resources are the entities in the RDF graph.
Definition resource.h:52
Syndication::RDF
Syndication's parser for the RDF-based RSS 0.9 and RSS 1.0 formats.
Definition contentvocab.cpp:30
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

syndication/rdf

Skip menu "syndication/rdf"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal