Syndication::Atom::EntryDocument
#include <document.h>

Public Member Functions | |
EntryDocument () | |
EntryDocument (const QDomElement &element) | |
bool | accept (DocumentVisitor *visitor) override |
QString | debugInfo () const override |
Entry | entry () const |
bool | isValid () const override |
![]() | |
virtual | ~SpecificDocument () |
Detailed Description
An Atom 1.0 Entry Document, containing a single Atom entry outside of the context of a feed.
Definition at line 186 of file atom/document.h.
Constructor & Destructor Documentation
◆ EntryDocument() [1/2]
Syndication::Atom::EntryDocument::EntryDocument | ( | ) |
default constructor, creates a null document, which is invalid.
- See also
- isValid()
Definition at line 265 of file atom/document.cpp.
◆ EntryDocument() [2/2]
|
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 270 of file atom/document.cpp.
Member Function Documentation
◆ accept()
|
overridevirtual |
Used by visitors for double dispatch.
See DocumentVisitor for more information.
- Parameters
-
visitor the visitor calling the method
Implements Syndication::SpecificDocument.
Definition at line 275 of file atom/document.cpp.
◆ debugInfo()
|
overridevirtual |
returns a description of this entry document for debugging purposes.
- Returns
- debug string
Implements Syndication::SpecificDocument.
Definition at line 290 of file atom/document.cpp.
◆ entry()
Entry Syndication::Atom::EntryDocument::entry | ( | ) | const |
returns the single entry described in the source.
- Returns
- the entry
Definition at line 280 of file atom/document.cpp.
◆ isValid()
|
overridevirtual |
returns whether this document is valid or not.
Invalid documents do not contain any useful information.
Implements Syndication::SpecificDocument.
Definition at line 285 of file atom/document.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Jun 5 2023 03:55:57 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.