• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

syndication/rdf

  • Syndication
  • RDF
  • Parser
Public Member Functions

Syndication::RDF::Parser Class Reference

Parser implementation for RDF-based RSS 0.9 and RSS 1.0 feeds. More...

#include <parser.h>

Inherits Syndication::AbstractParser.

List of all members.

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 204 of file parser.cpp.

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

destructor

Definition at line 210 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 58 of file parser.cpp.

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

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

Returns:
"rdf"

Definition at line 218 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 72 of file parser.cpp.


The documentation for this class was generated from the following files:
  • parser.h
  • parser.cpp

syndication/rdf

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

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal