• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepimlibs API Reference
  • KDE Home
  • Contact Us
 

syndication/rdf

  • Syndication
  • RDF
  • Parser
Public Member Functions | List of all members
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.

Author
Frank Osterfeld

Definition at line 41 of file parser.h.

Constructor & Destructor Documentation

Syndication::RDF::Parser::Parser ( )

default constructor

Definition at line 209 of file parser.cpp.

Syndication::RDF::Parser::~Parser ( )
virtual

destructor

Definition at line 215 of file parser.cpp.

Member Function Documentation

bool Syndication::RDF::Parser::accept ( const DocumentSource &  source) const
virtual

returns whether the passed document looks like an RSS 0.9 or RSS 1.0 document.

Parameters
sourcethe document source to check

Definition at line 57 of file parser.cpp.

QString Syndication::RDF::Parser::format ( ) const
virtual

format string of this parser, which is "rdf".

Returns
"rdf"

Definition at line 223 of file parser.cpp.

SpecificDocumentPtr Syndication::RDF::Parser::parse ( const DocumentSource &  source) const
virtual

Parses an RSS 0.9/1.0 document from a feed source.

RSS 0.9 documents are converted to RSS 1.0.

Parameters
sourceThe 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:
  • parser.h
  • parser.cpp
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

KDE's Doxygen guidelines are available online.

syndication/rdf

Skip menu "syndication/rdf"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal