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

syndication/atom

  • Syndication
  • Atom
  • Parser
Public Member Functions

Syndication::Atom::Parser Class Reference

parser implementation for Atom 1.0 and 0.3. More...

#include <parser.h>

Inherits Syndication::AbstractParser.

List of all members.

Public Member Functions

 Parser ()
virtual ~Parser ()
bool accept (const Syndication::DocumentSource &source) const
QString format () const
Syndication::SpecificDocumentPtr parse (const Syndication::DocumentSource &source) const

Detailed Description

parser implementation for Atom 1.0 and 0.3.

Author:
Frank Osterfeld

Definition at line 43 of file parser.h.


Constructor & Destructor Documentation

Syndication::Atom::Parser::Parser ( )

default constructor

Definition at line 207 of file parser.cpp.

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

destructor

Definition at line 208 of file parser.cpp.


Member Function Documentation

bool Syndication::Atom::Parser::accept ( const Syndication::DocumentSource &  source) const

returns whether the source looks like an Atom 1.0 or 0.3 document, by checking the root element.

Parameters:
sourcedocument source to check

Definition at line 52 of file parser.cpp.

QString Syndication::Atom::Parser::format ( ) const

returns the format string for this parser implementation, which is "atom"

Returns:
"atom"

Definition at line 99 of file parser.cpp.

Syndication::SpecificDocumentPtr Syndication::Atom::Parser::parse ( const Syndication::DocumentSource &  source) const

parses either an EntryDocument or a FeedDocument from a document source.

If the source is not an atom document, an invalid FeedDocument is returned.

See also:
SpecificDocument::isValid()
Parameters:
sourcethe document source to parse

Definition at line 58 of file parser.cpp.


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

syndication/atom

Skip menu "syndication/atom"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • 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