File indexing completed on 2024-04-28 15:34:25

0001 /*
0002     This file is part of the syndication library
0003     SPDX-FileCopyrightText: 2006 Frank Osterfeld <osterfeld@kde.org>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-or-later
0006 */
0007 
0008 #include "nodevisitor.h"
0009 
0010 #include "literal.h"
0011 #include "node.h"
0012 #include "property.h"
0013 #include "resource.h"
0014 #include "sequence.h"
0015 
0016 namespace Syndication
0017 {
0018 namespace RDF
0019 {
0020 NodeVisitor::~NodeVisitor()
0021 {
0022 }
0023 
0024 void NodeVisitor::visit(NodePtr node)
0025 {
0026     node->accept(this, node);
0027 }
0028 
0029 bool NodeVisitor::visitLiteral(LiteralPtr)
0030 {
0031     return false;
0032 }
0033 
0034 bool NodeVisitor::visitNode(NodePtr)
0035 {
0036     return false;
0037 }
0038 
0039 bool NodeVisitor::visitProperty(PropertyPtr)
0040 {
0041     return false;
0042 }
0043 
0044 bool NodeVisitor::visitResource(ResourcePtr)
0045 {
0046     return false;
0047 }
0048 
0049 bool NodeVisitor::visitSequence(SequencePtr)
0050 {
0051     return false;
0052 }
0053 } // namespace RDF
0054 } // namespace Syndication