Pages
API Documentation
On this page

Syndication::Atom::EntryDocument Class

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

List of all members, including inherited members

Public Functions

Detailed Description

Member Function Documentation

EntryDocument::EntryDocument()

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

See also isValid()

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

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

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

[override virtual] bool EntryDocument::accept(Syndication::DocumentVisitor *visitor)

Reimplements: SpecificDocument::accept(Syndication::DocumentVisitor *visitor).

Used by visitors for double dispatch. See DocumentVisitor for more information.

visitor the visitor calling the method

[override virtual] QString EntryDocument::debugInfo() const

Reimplements: SpecificDocument::debugInfo() const.

returns a description of this entry document for debugging purposes.

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

returns the single entry described in the source.

[override virtual] bool EntryDocument::isValid() const

Reimplements: SpecificDocument::isValid() const.

returns whether this document is valid or not.

Invalid documents do not contain any useful information.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.