Syndication
atom/parser.cpp
33 static QDomNode convertNode(QDomDocument &doc, const QDomNode &node, const QHash<QString, QString> &nameMapper);
39 return !root.isNull() && (root.namespaceURI() == atom1Namespace() || root.namespaceURI() == atom0_3Namespace());
83QDomNode Parser::ParserPrivate::convertNode(QDomDocument &doc, const QDomNode &node, const QHash<QString, QString> &nameMapper)
static Format mapTypeToFormat(const QString &type, const QString &src=QString())
maps a mimetype to Format enum according to the Atom 1.0 specification
Definition content.cpp:79
An Atom 1.0 Entry Document, containing a single Atom entry outside of the context of a feed.
Definition atom/document.h:187
An Atom 1.0 Feed Document, containing metadata describing the feed and a number of entries.
Definition atom/document.h:44
QString format() const override
returns the format string for this parser implementation, which is "atom"
Definition atom/parser.cpp:78
Syndication::SpecificDocumentPtr parse(const Syndication::DocumentSource &source) const override
parses either an EntryDocument or a FeedDocument from a document source.
Definition atom/parser.cpp:42
bool accept(const Syndication::DocumentSource &source) const override
returns whether the source looks like an Atom 1.0 or 0.3 document, by checking the root element.
Definition atom/parser.cpp:36
Represents the source of a syndication document, as read from the downloaded file.
Definition documentsource.h:36
QDomDocument asDomDocument() const
Returns the feed source as DOM document.
Definition documentsource.cpp:66
QString name() const const
QString value() const const
QDomElement createElementNS(const QString &nsURI, const QString &qName)
QDomElement documentElement() const const
QString attribute(const QString &name, const QString &defValue) const const
QDomNamedNodeMap attributes() const const
QDomNode appendChild(const QDomNode &newChild)
QDomNodeList childNodes() const const
QDomNode cloneNode(bool deep) const const
bool isElement() const const
bool isNull() const const
QString localName() const const
QDomNode namedItem(const QString &name) const const
QString namespaceURI() const const
QDomAttr toAttr() const const
QDomDocument toDocument() const const
QDomElement toElement() const const
int count() const const
QDomNode item(int index) const const
bool contains(const Key &key) const const
iterator insert(const Key &key, const T &value)
bool isEmpty() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:02:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:02:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.