Search for usage in LXR

Syndication::Atom::EntryDocument Class Reference

#include <document.h>

Inheritance diagram for Syndication::Atom::EntryDocument:

Public Member Functions

 EntryDocument ()
 EntryDocument (const QDomElement &element)
bool accept (DocumentVisitor *visitor) override
QString debugInfo () const override
Entry entry () const
bool isValid () const override
- Public Member Functions inherited from Syndication::SpecificDocument
virtual ~SpecificDocument ()
- Public Member Functions inherited from Syndication::ElementWrapper
 ElementWrapper ()
 ElementWrapper (const ElementWrapper &other)
 ElementWrapper (const QDomElement &element)
virtual ~ElementWrapper ()
QString attribute (const QString &name, const QString &defValue=QString()) const
QString attributeNS (const QString &nsURI, const QString &localName, const QString &defValue=QString()) const
QString childNodesAsXML () const
QString completeURI (const QString &uri) const
const QDomElementelement () const
QList< QDomElementelementsByTagName (const QString &tagName) const
QList< QDomElementelementsByTagNameNS (const QString &nsURI, const QString &tagName) const
QString extractElementText (const QString &tagName) const
QString extractElementTextNS (const QString &namespaceURI, const QString &localName) const
QDomElement firstElementByTagNameNS (const QString &nsURI, const QString &tagName) const
bool hasAttribute (const QString &name) const
bool hasAttributeNS (const QString &nsURI, const QString &localName) const
bool isNull () const
ElementWrapperoperator= (const ElementWrapper &other)
bool operator== (const ElementWrapper &other) const
QString text () const
QString xmlBase () const
QString xmlLang () const

Additional Inherited Members

- Static Public Member Functions inherited from Syndication::ElementWrapper
static QString childNodesAsXML (const QDomElement &parent)

Detailed Description

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

Frank Osterfeld

Definition at line 186 of file atom/document.h.

Constructor & Destructor Documentation

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

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

See also

Definition at line 284 of file atom/document.cpp.

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

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

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

Definition at line 289 of file atom/document.cpp.

Member Function Documentation

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

Used by visitors for double dispatch.

See DocumentVisitor for more information.

visitorthe visitor calling the method

Implements Syndication::SpecificDocument.

Definition at line 294 of file atom/document.cpp.

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

returns a description of this entry document for debugging purposes.

debug string

Implements Syndication::SpecificDocument.

Definition at line 309 of file atom/document.cpp.

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

returns the single entry described in the source.

the entry

Definition at line 299 of file atom/document.cpp.

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

returns whether this document is valid or not.

Invalid documents do not contain any useful information.

Implements Syndication::SpecificDocument.

Definition at line 304 of file atom/document.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue Jan 25 2022 22:55:02 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.