Syndication::RDF::DublinCore
#include <dublincore.h>
Public Member Functions | |
DublinCore (ResourcePtr resource) | |
~DublinCore () override | |
QString | contributor () const |
QStringList | contributors () const |
QString | coverage () const |
QString | creator () const |
QStringList | creators () const |
time_t | date () const |
QString | debugInfo () const |
QString | description () const |
QString | format () const |
QString | identifier () const |
QString | language () const |
QString | publisher () const |
QString | relation () const |
QString | rights () const |
QString | source () const |
QString | subject () const |
QStringList | subjects () const |
QString | title () const |
QString | type () const |
Public Member Functions inherited from Syndication::RDF::ResourceWrapper | |
ResourceWrapper () | |
ResourceWrapper (const ResourceWrapper &other) | |
ResourceWrapper (ResourcePtr resource) | |
virtual | ~ResourceWrapper () |
bool | isNull () const |
ResourceWrapper & | operator= (const ResourceWrapper &other) |
bool | operator== (const ResourceWrapper &other) const |
ResourcePtr | resource () const |
Detailed Description
A resource wrapper providing convenient access to Dublin Core metadata.
For more information on Dublin Core, see http://dublincore.org/
Definition at line 35 of file dublincore.h.
Constructor & Destructor Documentation
◆ DublinCore()
|
explicit |
creates a dublin core convenience wrapper for a resource
- Parameters
-
resource the resource to wrap
Definition at line 22 of file dublincore.cpp.
◆ ~DublinCore()
|
override |
virtual destructor
Definition at line 27 of file dublincore.cpp.
Member Function Documentation
◆ contributor()
QString Syndication::RDF::DublinCore::contributor | ( | ) | const |
"An entity responsible for making contributions to the content of the resource.
Examples of a Contributor include a person, an organization, or a service. Typically, the name of a Contributor should be used to indicate the entity."
Definition at line 31 of file dublincore.cpp.
◆ contributors()
QStringList Syndication::RDF::DublinCore::contributors | ( | ) | const |
like contributor(), but returns all dc:contributor properties, not only one.
Definition at line 36 of file dublincore.cpp.
◆ coverage()
QString Syndication::RDF::DublinCore::coverage | ( | ) | const |
"The extent or scope of the content of the resource.
Coverage will typically include spatial location (a place name or geographic coordinates), temporal period (a period label, date, or date range) or jurisdiction (such as a named administrative entity). Recommended best practice is to select a value from a controlled vocabulary (for example, the Thesaurus of Geographic Names [TGN]) and that, where appropriate, named places or time periods be used in preference to numeric identifiers such as sets of coordinates or date ranges."
Definition at line 51 of file dublincore.cpp.
◆ creator()
QString Syndication::RDF::DublinCore::creator | ( | ) | const |
"An entity primarily responsible for making the content of the resource.
Examples of a Creator include a person, an organization, or a service. Typically, the name of a Creator should be used to indicate the entity."
Definition at line 56 of file dublincore.cpp.
◆ creators()
QStringList Syndication::RDF::DublinCore::creators | ( | ) | const |
like creator(), but returns all dc:creator properties, not only one.
Definition at line 61 of file dublincore.cpp.
◆ date()
time_t Syndication::RDF::DublinCore::date | ( | ) | const |
"A date associated with an event in the life cycle of the resource.
Typically, Date will be associated with the creation or availability of the resource. Recommended best practice for encoding the date value is defined in a profile of ISO 8601 [W3CDTF] and follows the YYYY-MM-DD format."
Definition at line 76 of file dublincore.cpp.
◆ debugInfo()
QString Syndication::RDF::DublinCore::debugInfo | ( | ) | const |
returns a debug string describing the available DC metadata for debugging purposes
- Returns
- debug string
Definition at line 152 of file dublincore.cpp.
◆ description()
QString Syndication::RDF::DublinCore::description | ( | ) | const |
"An account of the content of the resource.
Description may include but is not limited to: an abstract, table of contents, reference to a graphical representation of content or a free-text account of the content."
Definition at line 82 of file dublincore.cpp.
◆ format()
QString Syndication::RDF::DublinCore::format | ( | ) | const |
"The physical or digital manifestation of the resource.
Typically, Format may include the media-type or dimensions of the resource. Format may be used to determine the software, hardware or other equipment needed to display or operate the resource. Examples of dimensions include size and duration. Recommended best practice is to select a value from a controlled vocabulary (for example, the list of Internet Media Types [MIME] defining computer media formats).
Definition at line 87 of file dublincore.cpp.
◆ identifier()
QString Syndication::RDF::DublinCore::identifier | ( | ) | const |
"An unambiguous reference to the resource within a given context.
Recommended best practice is to identify the resource by means if a string or number conforming to a formal identification system. Example formal identification systems include the Uniform Resource Identifier (URI) (including the Uniform Resource Locator (URL)), the Digital Object Identifier (DOI) and the International Standard Book Number (ISBN).
Definition at line 92 of file dublincore.cpp.
◆ language()
QString Syndication::RDF::DublinCore::language | ( | ) | const |
"A language of the intellectual content of the resource.
Recommended best practice for the values of the Language element is defined by RFC 1766 [RFC1766] which includes a two-letter Language Code (taken from the ISO 639 standard [ISO639]), followed optionally, by a two-letter Country Code (taken from the ISO 3166 standard [ISO3166]). For example, 'en' for English, 'fr' for French, or 'en-uk' for English used in the United Kingdom."
Definition at line 97 of file dublincore.cpp.
◆ publisher()
QString Syndication::RDF::DublinCore::publisher | ( | ) | const |
"An entity responsible for making the resource available.
Examples of a Publisher include a person, an organization, or a service. Typically, the name of a Publisher should be used to indicate the entity."
Definition at line 102 of file dublincore.cpp.
◆ relation()
QString Syndication::RDF::DublinCore::relation | ( | ) | const |
"A reference to a related resource.
Recommended best practice is to reference the resource by means of a string or number conforming to a formal identification system."
Definition at line 107 of file dublincore.cpp.
◆ rights()
QString Syndication::RDF::DublinCore::rights | ( | ) | const |
"Information about rights held in and over the resource.
Typically, a Rights element will contain a rights management statement for the resource, or reference a service providing such information. Rights information often encompasses Intellectual Property Rights (IPR), Copyright, and various Property Rights. If the Rights element is absent, no assumptions can be made about the status of these and other rights with respect to the resource."
Definition at line 112 of file dublincore.cpp.
◆ source()
QString Syndication::RDF::DublinCore::source | ( | ) | const |
A Reference to a resource from which the present resource is derived.
The present resource may be derived from the Source resource in whole or in part. Recommended best practice is to reference the resource by means of a string or number conforming to a formal identification system.
Definition at line 117 of file dublincore.cpp.
◆ subject()
QString Syndication::RDF::DublinCore::subject | ( | ) | const |
"The topic of the content of the resource.
Typically, a Subject will be expressed as keywords, key phrases or classification codes that describe a topic of the resource. Recommended best practice is to select a value from a controlled vocabulary or formal classification scheme."
Definition at line 122 of file dublincore.cpp.
◆ subjects()
QStringList Syndication::RDF::DublinCore::subjects | ( | ) | const |
like subject(), but returns all dc:subject properties, not only one.
Definition at line 127 of file dublincore.cpp.
◆ title()
QString Syndication::RDF::DublinCore::title | ( | ) | const |
A name given to the resource.
Typically, a Title will be a name by which the resource is formally known.
Definition at line 142 of file dublincore.cpp.
◆ type()
QString Syndication::RDF::DublinCore::type | ( | ) | const |
"The nature or genre of the content of the resource.
Type includes terms describing general categories, functions, genres, or aggregation levels for content. Recommended best practice is to select a value from a controlled vocabulary (for example, the working draft list of Dublin Core Types [DCT1]). To describe the physical or digital manifestation of the resource, use the FORMAT element."
Definition at line 147 of file dublincore.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.