syndication/rdf
Syndication::RDF::Parser Class Reference
#include <parser.h>
Inherits AbstractParser.
Public Member Functions | |
Parser () | |
virtual | ~Parser () |
virtual bool | accept (const DocumentSource &source) const |
virtual QString | format () const |
virtual SpecificDocumentPtr | parse (const DocumentSource &source) const |
Detailed Description
Parser implementation for RDF-based RSS 0.9 and RSS 1.0 feeds.
Constructor & Destructor Documentation
Syndication::RDF::Parser::Parser | ( | ) |
default constructor
Definition at line 209 of file parser.cpp.
|
virtual |
destructor
Definition at line 215 of file parser.cpp.
Member Function Documentation
|
virtual |
returns whether the passed document looks like an RSS 0.9 or RSS 1.0 document.
- Parameters
-
source the document source to check
Definition at line 57 of file parser.cpp.
|
virtual |
format string of this parser, which is "rdf"
.
- Returns
"rdf"
Definition at line 223 of file parser.cpp.
|
virtual |
Parses an RSS 0.9/1.0 document from a feed source.
RSS 0.9 documents are converted to RSS 1.0.
- Parameters
-
source The document source to parse
- Returns
- parsed document (a Syndication::RDF::Document), or an invalid document if parsing failed.
- See also
- Document::isValid()
Definition at line 71 of file parser.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.