Syndication

documentvisitor.cpp
1/*
2 This file is part of the syndication library
3 SPDX-FileCopyrightText: 2005 Frank Osterfeld <osterfeld@kde.org>
4
5 SPDX-License-Identifier: LGPL-2.0-or-later
6*/
7
8#include "documentvisitor.h"
9#include "specificdocument.h"
10
11namespace Syndication
12{
16
18{
19 return document->accept(this);
20}
21
26
31
36
41
42} // namespace Syndication
An Atom 1.0 Entry Document, containing a single Atom entry outside of the context of a feed.
An Atom 1.0 Feed Document, containing metadata describing the feed and a number of entries.
virtual bool visitRSS2Document(Syndication::RSS2::Document *document)
reimplement this method to handle RSS2-like (RSS 0.9x, 2.0) documents.
virtual bool visit(SpecificDocument *document)
call this method to handle a document.
virtual ~DocumentVisitor()
destructor
virtual bool visitRDFDocument(Syndication::RDF::Document *document)
reimplement this method to handle RDF (i.e.
virtual bool visitAtomFeedDocument(Syndication::Atom::FeedDocument *document)
reimplement this method to handle Atom feed documents (most Atom feeds are of this type).
virtual bool visitAtomEntryDocument(Syndication::Atom::EntryDocument *document)
reimplement this method to handle Atom entry documents.
Document implementation for RDF, representing an RSS 1.0 feed.
document implementation, representing an RSS feed from the 0.91-0.94/2.0 family.
Document interface for format-specific feed documents as parsed from a document source (see DocumentS...
virtual bool accept(DocumentVisitor *visitor)=0
This must be implemented for the double dispatch technique (Visitor pattern).
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.