Syndication::Atom::Generator

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.

Author
Frank Osterfeld

Definition at line 26 of file generator.h.

Constructor & Destructor Documentation

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

default constructor, creates a null generator

Definition at line 18 of file generator.cpp.

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

creates a Generator wrapping an atom:generator element.

Parameters
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

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

a description of this generator for debugging purposes.

Returns
debug info

Definition at line 41 of file generator.cpp.

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

human-readable name of the generator.

(optional)

Returns
generator name as plain text

Definition at line 31 of file generator.cpp.

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

A URI for the generator (e.g.

its homepage) (optional)

Definition at line 26 of file generator.cpp.

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

version of the agent (optional)

Definition at line 36 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-2020 The KDE developers.
Generated on Sat Nov 21 2020 23:02:49 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.