| 1 | /* |
|---|---|
| 2 | This file is part of the syndication library |
| 3 | SPDX-FileCopyrightText: 2006 Frank Osterfeld <osterfeld@kde.org> |
| 4 | |
| 5 | SPDX-License-Identifier: LGPL-2.0-or-later |
| 6 | */ |
| 7 | |
| 8 | #include "nodevisitor.h" |
| 9 | |
| 10 | #include "literal.h" |
| 11 | #include "node.h" |
| 12 | #include "property.h" |
| 13 | #include "resource.h" |
| 14 | #include "sequence.h" |
| 15 | |
| 16 | namespace Syndication |
| 17 | { |
| 18 | namespace RDF |
| 19 | { |
| 20 | NodeVisitor::~NodeVisitor() |
| 21 | { |
| 22 | } |
| 23 | |
| 24 | void NodeVisitor::visit(NodePtr node) |
| 25 | { |
| 26 | node->accept(visitor: this, ptr: node); |
| 27 | } |
| 28 | |
| 29 | bool NodeVisitor::visitLiteral(LiteralPtr) |
| 30 | { |
| 31 | return false; |
| 32 | } |
| 33 | |
| 34 | bool NodeVisitor::visitNode(NodePtr) |
| 35 | { |
| 36 | return false; |
| 37 | } |
| 38 | |
| 39 | bool NodeVisitor::visitProperty(PropertyPtr) |
| 40 | { |
| 41 | return false; |
| 42 | } |
| 43 | |
| 44 | bool NodeVisitor::visitResource(ResourcePtr) |
| 45 | { |
| 46 | return false; |
| 47 | } |
| 48 | |
| 49 | bool NodeVisitor::visitSequence(SequencePtr) |
| 50 | { |
| 51 | return false; |
| 52 | } |
| 53 | } // namespace RDF |
| 54 | } // namespace Syndication |
| 55 |
