syndication/rdf
parser.cpp
Document implementation for RDF, representing an RSS 1.0 feed.
Definition: document.h:52
An RDF parser, used to parse an RDF model from RDF/XML.
Definition: modelmaker.h:50
Model createFromXML(const QDomDocument &doc)
parses an RDF model from RDF/XML
Definition: modelmaker.cpp:39
virtual QList< ResourcePtr > resourcesWithType(ResourcePtr type) const
returns all resources of a given type.
Definition: model.cpp:300
Parser implementation for RDF-based RSS 0.9 and RSS 1.0 feeds.
Definition: parser.h:42
virtual QString format() const
format string of this parser, which is "rdf".
Definition: parser.cpp:223
virtual bool accept(const DocumentSource &source) const
returns whether the passed document looks like an RSS 0.9 or RSS 1.0 document.
Definition: parser.cpp:57
virtual SpecificDocumentPtr parse(const DocumentSource &source) const
Parses an RSS 0.9/1.0 document from a feed source.
Definition: parser.cpp:71
PropertyPtr type()
the rdf:type property (A rdf:type B means A is instance of B)
Definition: rdfvocab.cpp:82
QString namespaceURI()
the RDF namespace, which is http://www.w3.org/1999/02/22-rdf-syntax-ns#
Definition: rdfvocab.cpp:92
ResourcePtr channel() const
RSS 0.9 channel class, the instance is represented by Syndication::RDF::Document.
Definition: rssvocab.cpp:258
QStringList properties() const
returns a list containing all URIs representing properties in this vocabulary
Definition: rssvocab.cpp:268
PropertyPtr items() const
RSS 1.0 items property, see Document::items() for more details.
Definition: rssvocab.cpp:132
ResourcePtr channel() const
RSS 1.0 channel class, the instance is represented by Syndication::RDF::Document.
Definition: rssvocab.cpp:142
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.