• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

syndication/atom

Syndication::Atom::EntryDocument

Syndication::Atom::EntryDocument Class Reference

#include <document.h>

Inherits SpecificDocument, and ElementWrapper.

List of all members.


Detailed Description

An Atom 1.0 Entry Document, containing a single Atom entry outside of the context of a feed.

Author:
Frank Osterfeld

Definition at line 202 of file document.h.


Public Member Functions

 EntryDocument ()
 EntryDocument (const QDomElement &element)
bool accept (DocumentVisitor *visitor)
Entry entry () const
QString debugInfo () const
bool isValid () const

Constructor & Destructor Documentation

Syndication::Atom::EntryDocument::EntryDocument (  ) 

default constructor, creates a null document, which is invalid.

See also:
isValid()

Definition at line 296 of file document.cpp.

Syndication::Atom::EntryDocument::EntryDocument ( const QDomElement &  element  )  [explicit]

creates an Atom Entry Document wrapping an atom:entry element.

Parameters:
element a DOM element, should be a atom:entry element (although not enforced), otherwise this object will not parse anything useful

Definition at line 300 of file document.cpp.


Member Function Documentation

bool Syndication::Atom::EntryDocument::accept ( DocumentVisitor *  visitor  ) 

Used by visitors for double dispatch.

See DocumentVisitor for more information.

Parameters:
visitor the visitor calling the method

Definition at line 304 of file document.cpp.

Entry Syndication::Atom::EntryDocument::entry (  )  const

returns the single entry described in the source.

Returns:
the entry

Definition at line 309 of file document.cpp.

QString Syndication::Atom::EntryDocument::debugInfo (  )  const

returns a description of this entry document for debugging purposes.

Returns:
debug string

Definition at line 320 of file document.cpp.

bool Syndication::Atom::EntryDocument::isValid (  )  const

returns whether this document is valid or not.

Invalid documents do not contain any useful information.

Definition at line 315 of file document.cpp.


The documentation for this class was generated from the following files:
  • document.h
  • document.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"
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.5
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