Syndication::RDF::Document
#include <document.h>
Detailed Description
Document implementation for RDF, representing an RSS 1.0 feed.
Definition at line 40 of file rdf/document.h.
Constructor & Destructor Documentation
◆ Document() [1/3]
Document::Document | ( | ) |
creates a wrapper wrapping a null resource
Definition at line 52 of file rdf/document.cpp.
◆ Document() [2/3]
|
explicit |
creates a document by wrapping a channel resource
- Parameters
-
resource the channel resource to wrap
Definition at line 60 of file rdf/document.cpp.
◆ Document() [3/3]
Document::Document | ( | const Document & | other | ) |
creates a copy of another document
- Parameters
-
other the document to copy
Definition at line 68 of file rdf/document.cpp.
◆ ~Document()
|
overridedefault |
destructor
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 91 of file rdf/document.cpp.
◆ dc()
DublinCore Document::dc | ( | ) | const |
returns a dublin core description of the document.
Definition at line 118 of file rdf/document.cpp.
◆ debugInfo()
|
overridevirtual |
PRIVATE.
/** Returns a description of the document for debugging purposes.
- Returns
- debug string
Implements Syndication::SpecificDocument.
Definition at line 279 of file rdf/document.cpp.
◆ description()
QString Document::description | ( | ) | const |
A brief description of the channel's content, function, source, etc.
- Returns
- TODO: define format etc.
Definition at line 107 of file rdf/document.cpp.
◆ image()
Image Document::image | ( | ) | const |
An image to be associated with an HTML rendering of the channel.
Definition at line 206 of file rdf/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 96 of file rdf/document.cpp.
◆ items()
list of items contained in this feed
Definition at line 168 of file rdf/document.cpp.
◆ link()
QString Document::link | ( | ) | const |
The URL to which an HTML rendering of the channel title will link, commonly the parent site's home or news page.
Definition at line 113 of file rdf/document.cpp.
◆ operator=()
assigns another document
- Parameters
-
other the document to assign
Definition at line 83 of file rdf/document.cpp.
◆ operator==()
bool Document::operator== | ( | const Document & | other | ) | const |
compares two documents.
Two documents are equal if they wrap the same resource. See ResourceWrapper::operator==()
- Parameters
-
other the document to compare to
Definition at line 78 of file rdf/document.cpp.
◆ syn()
SyndicationInfo Document::syn | ( | ) | const |
returns syndication information describing how often this feed is updated.
Definition at line 123 of file rdf/document.cpp.
◆ textInput()
TextInput Document::textInput | ( | ) | const |
An optional text input element associated with the channel.
Definition at line 213 of file rdf/document.cpp.
◆ title()
QString Document::title | ( | ) | const |
title of the feed (required)
- Returns
- feed title as TODO: define format
Definition at line 101 of file rdf/document.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:48:37 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.