00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef SYNDICATION_RDF_ITEM_H
00023 #define SYNDICATION_RDF_ITEM_H
00024
00025 #include <syndication/rdf/document.h>
00026 #include <syndication/rdf/resourcewrapper.h>
00027
00028 #include <syndication/specificitem.h>
00029
00030 class QString;
00031
00032 namespace Syndication {
00033
00034 class SpecificItemVisitor;
00035
00036 namespace RDF {
00037
00038 class DublinCore;
00039 class Item;
00040
00048 class SYNDICATION_EXPORT Item : public ResourceWrapper, public SpecificItem
00049 {
00050
00051 public:
00052
00057 Item();
00058
00066 explicit Item(ResourcePtr resource, DocumentPtr doc=DocumentPtr());
00067
00073 Item(const Item& other);
00074
00078 virtual ~Item();
00079
00085 Item& operator=(const Item& other);
00086
00094 bool operator==(const Item& other) const;
00095
00102 bool accept(SpecificItemVisitor* visitor);
00103
00109 QString title() const;
00110
00118 QString description() const;
00119
00126 QString link() const;
00127
00133 DublinCore dc() const;
00134
00140 QString encodedContent() const;
00141
00142
00148 QString originalTitle() const;
00149
00155 QString originalDescription() const;
00156
00157
00158
00164 QString debugInfo() const;
00165
00166 private:
00167
00168 class Private;
00169 Private* const d;
00170 };
00171
00172 }
00173 }
00174
00175 #endif // SYNDICATION_RDF_ITEM_H