syndication/rdf
parser.cpp
Parser implementation for RDF-based RSS 0.9 and RSS 1.0 feeds.
Definition: parser.h:41
virtual PropertyPtr createProperty(const QString &uri)
creates a property and associates it with this model.
Definition: model.cpp:55
Document implementation for RDF, representing an RSS 1.0 feed.
Definition: document.h:51
QStringList properties() const
returns a list containing all URIs representing properties in this vocabulary
Definition: rssvocab.cpp:268
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
Model createFromXML(const QDomDocument &doc)
parses an RDF model from RDF/XML
Definition: modelmaker.cpp:39
virtual SequencePtr createSequence(const QString &uri=QString())
creates a sequence and associates it with this model.
Definition: model.cpp:98
PropertyPtr items() const
RSS 1.0 items property, see Document::items() for more details.
Definition: rssvocab.cpp:132
An RDF parser, used to parse an RDF model from RDF/XML.
Definition: modelmaker.h:49
QString namespaceURI()
the RDF namespace, which is http://www.w3.org/1999/02/22-rdf-syntax-ns#
Definition: rdfvocab.cpp:92
virtual StatementPtr addStatement(ResourcePtr subject, PropertyPtr predicate, NodePtr object)
adds a statement to the model.
Definition: model.cpp:146
virtual SpecificDocumentPtr parse(const DocumentSource &source) const
Parses an RSS 0.9/1.0 document from a feed source.
Definition: parser.cpp:71
virtual QString format() const
format string of this parser, which is "rdf".
Definition: parser.cpp:223
Definition: contentvocab.cpp:29
virtual QList< ResourcePtr > resourcesWithType(ResourcePtr type) const
returns all resources of a given type.
Definition: model.cpp:300
virtual void removeStatement(ResourcePtr subject, PropertyPtr predicate, NodePtr object)
removes a statement from the model.
Definition: model.cpp:137
virtual QList< StatementPtr > statements() const
returns a list of the statements in this model.
Definition: model.cpp:269
This file is part of the KDE documentation.
Documentation copyright © 1996-2016 The KDE developers.
Generated on Fri Apr 22 2016 18:37:03 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2016 The KDE developers.
Generated on Fri Apr 22 2016 18:37:03 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.