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
16namespace Syndication
17{
18namespace RDF
19{
20NodeVisitor::~NodeVisitor()
21{
22}
23
24void NodeVisitor::visit(NodePtr node)
25{
26 node->accept(visitor: this, ptr: node);
27}
28
29bool NodeVisitor::visitLiteral(LiteralPtr)
30{
31 return false;
32}
33
34bool NodeVisitor::visitNode(NodePtr)
35{
36 return false;
37}
38
39bool NodeVisitor::visitProperty(PropertyPtr)
40{
41 return false;
42}
43
44bool NodeVisitor::visitResource(ResourcePtr)
45{
46 return false;
47}
48
49bool NodeVisitor::visitSequence(SequencePtr)
50{
51 return false;
52}
53} // namespace RDF
54} // namespace Syndication
55

source code of syndication/src/rdf/nodevisitor.cpp