Search for usage in LXR

Syndication::Atom::Generator Class Reference

#include <generator.h>

Inheritance diagram for Syndication::Atom::Generator:

Public Member Functions

 Generator ()
 Generator (const QDomElement &element)
QString debugInfo () const
QString name () const
QString uri () const
QString version () const
- 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

Description of the agent used to generate the feed.

Frank Osterfeld

Definition at line 25 of file generator.h.

Constructor & Destructor Documentation

◆ Generator() [1/2]

Syndication::Atom::Generator::Generator ( )

default constructor, creates a null generator

Definition at line 17 of file generator.cpp.

◆ Generator() [2/2]

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

creates a Generator wrapping an atom:generator element.

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

Definition at line 22 of file generator.cpp.

Member Function Documentation

◆ debugInfo()

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

a description of this generator for debugging purposes.

debug info

Definition at line 42 of file generator.cpp.

◆ name()

QString Syndication::Atom::Generator::name ( ) const

human-readable name of the generator.


generator name as plain text

Definition at line 32 of file generator.cpp.

◆ uri()

QString Syndication::Atom::Generator::uri ( ) const

A URI for the generator (e.g.

its homepage) (optional)

Definition at line 27 of file generator.cpp.

◆ version()

QString Syndication::Atom::Generator::version ( ) const

version of the agent (optional)

Definition at line 37 of file generator.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 Aug 9 2022 03:52:40 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.