| 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 | |
| 11 | namespace Syndication |
| 12 | { |
| 13 | DocumentVisitor::~DocumentVisitor() |
| 14 | { |
| 15 | } |
| 16 | |
| 17 | bool DocumentVisitor::visit(SpecificDocument *document) |
| 18 | { |
| 19 | return document->accept(visitor: this); |
| 20 | } |
| 21 | |
| 22 | bool DocumentVisitor::visitRSS2Document(Syndication::RSS2::Document *) |
| 23 | { |
| 24 | return false; |
| 25 | } |
| 26 | |
| 27 | bool DocumentVisitor::visitRDFDocument(Syndication::RDF::Document *) |
| 28 | { |
| 29 | return false; |
| 30 | } |
| 31 | |
| 32 | bool DocumentVisitor::visitAtomFeedDocument(Syndication::Atom::FeedDocument *) |
| 33 | { |
| 34 | return false; |
| 35 | } |
| 36 | |
| 37 | bool DocumentVisitor::visitAtomEntryDocument(Syndication::Atom::EntryDocument *) |
| 38 | { |
| 39 | return false; |
| 40 | } |
| 41 | |
| 42 | } // namespace Syndication |
| 43 |
