File indexing completed on 2024-07-14 14:40:04

0001 /*
0002     This file is part of the syndication library
0003     SPDX-FileCopyrightText: 2005 Frank Osterfeld <osterfeld@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #include "documentvisitor.h"
0009 #include "specificdocument.h"
0010 
0011 namespace Syndication
0012 {
0013 DocumentVisitor::~DocumentVisitor()
0014 {
0015 }
0016 
0017 bool DocumentVisitor::visit(SpecificDocument *document)
0018 {
0019     return document->accept(this);
0020 }
0021 
0022 bool DocumentVisitor::visitRSS2Document(Syndication::RSS2::Document *)
0023 {
0024     return false;
0025 }
0026 
0027 bool DocumentVisitor::visitRDFDocument(Syndication::RDF::Document *)
0028 {
0029     return false;
0030 }
0031 
0032 bool DocumentVisitor::visitAtomFeedDocument(Syndication::Atom::FeedDocument *)
0033 {
0034     return false;
0035 }
0036 
0037 bool DocumentVisitor::visitAtomEntryDocument(Syndication::Atom::EntryDocument *)
0038 {
0039     return false;
0040 }
0041 
0042 } // namespace Syndication