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

syndication/rdf

  • Syndication
  • RDF
  • Parser
Public Member Functions
Syndication::RDF::Parser Class Reference

#include <parser.h>

Inherits 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

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-2012 The KDE developers.
Generated on Mon May 14 2012 04:47:17 by doxygen 1.7.5 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-4.8.3 API Reference

Skip menu "kdepimlibs-4.8.3 API Reference"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • 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
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