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

syndication/atom

  • Syndication
  • Atom
  • EntryDocument
Public Member Functions | List of all members
Syndication::Atom::EntryDocument Class Reference

#include <document.h>

Inherits SpecificDocument, and ElementWrapper.

Public Member Functions

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

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.

Constructor & Destructor Documentation

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

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

See also
isValid()

Definition at line 299 of file document.cpp.

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

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

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

Definition at line 303 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
visitorthe visitor calling the method

Definition at line 307 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 323 of file document.cpp.

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

returns the single entry described in the source.

Returns
the entry

Definition at line 312 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 318 of file document.cpp.


The documentation for this class was generated from the following files:
  • document.h
  • document.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:35 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

syndication/atom

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