/* This file is part of the syndication library SPDX-FileCopyrightText: 2006 Frank Osterfeld SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef SYNDICATION_RDF_DUBLINCOREVOCAB_H #define SYNDICATION_RDF_DUBLINCOREVOCAB_H #include #include class QString; namespace Syndication { namespace RDF { /** * Singleton holding RDF class and property constants of the Dublin Core * vocabulary. See http://dublincore.org/documents/dces/ for a * specification. * * @author Frank Osterfeld */ class DublinCoreVocab { public: /** * returns the singleton instance */ static DublinCoreVocab *self(); /** * destructor */ ~DublinCoreVocab(); /** * the namespace of the Dublin Core vocabulary, * http://purl.org/dc/elements/1.1/ */ const QString &namespaceURI() const; /** * dc:contributor property. See DublinCore::contributor() for * an explanation. */ PropertyPtr contributor() const; /** * dc:creator property. See DublinCore::creator() for * an explanation. */ PropertyPtr creator() const; /** * dc:coverage property. See DublinCore::coverage() for * an explanation. */ PropertyPtr coverage() const; /** * dc:date property. See DublinCore::date() for * an explanation. */ PropertyPtr date() const; /** * dc:description property. See DublinCore::description() for * an explanation. */ PropertyPtr description() const; /** * dc:format property. See DublinCore::format() for * an explanation. */ PropertyPtr format() const; /** * dc:identifier property. See DublinCore::identifier() for * an explanation. */ PropertyPtr identifier() const; /** * dc:language property. See DublinCore::language() for * an explanation. */ PropertyPtr language() const; /** * dc:publisher property. See DublinCore::publisher() for * an explanation. */ PropertyPtr publisher() const; /** * dc:relation property. See DublinCore::relation() for * an explanation. */ PropertyPtr relation() const; /** * dc:rights property. See DublinCore::rights() for * an explanation. */ PropertyPtr rights() const; /** * dc:source property. See DublinCore::source() for * an explanation. */ PropertyPtr source() const; /** * dc:subject property. See DublinCore::subject() for * an explanation. */ PropertyPtr subject() const; /** * dc:title property. See DublinCore::title() for * an explanation. */ PropertyPtr title() const; /** * dc:type property. See DublinCore::type() for * an explanation. */ PropertyPtr type() const; private: DublinCoreVocab(); Q_DISABLE_COPY(DublinCoreVocab) class DublinCoreVocabPrivate; std::unique_ptr const d; }; } // namespace RDF } // namespace Syndication #endif // SYNDICATION_RDF_DUBLINCOREVOCAB_H