source: FCSSimpleEndpoint/trunk/src/main/java/eu/clarin/sru/server/fcs/parser/QueryVisitorAdapter.java @ 7273

Last change on this file since 7273 was 7273, checked in by Oliver Schonefeld, 2 years ago
  • update copyright
  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1/**
2 * This software is copyright (c) 2013-2022 by
3 *  - Leibniz-Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
4 * This is free software. You can redistribute it
5 * and/or modify it under the terms described in
6 * the GNU General Public License v3 of which you
7 * should have received a copy. Otherwise you can download
8 * it from
9 *
10 *   http://www.gnu.org/licenses/gpl-3.0.txt
11 *
12 * @copyright Leibniz-Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
13 *
14 * @license http://www.gnu.org/licenses/gpl-3.0.txt
15 *  GNU General Public License v3
16 */
17package eu.clarin.sru.server.fcs.parser;
18
19
20/**
21 * Convenience class to implement FCS-QL expression tree visitors. Default
22 * method implementations do nothing.
23 */
24public class QueryVisitorAdapter implements QueryVisitor {
25
26    @Override
27    public void visit(QuerySegment node) {
28    }
29
30
31    @Override
32    public void visit(QueryGroup node) {
33    }
34
35
36    @Override
37    public void visit(QuerySequence node) {
38    }
39
40
41    @Override
42    public void visit(QueryDisjunction node) {
43    }
44
45
46    @Override
47    public void visit(QueryWithWithin node) {
48    }
49
50
51    @Override
52    public void visit(Expression node) {
53    }
54
55
56    @Override
57    public void visit(ExpressionWildcard node) {
58    }
59
60
61    @Override
62    public void visit(ExpressionGroup node) {
63    }
64
65
66    @Override
67    public void visit(ExpressionOr node) {
68    }
69
70
71    @Override
72    public void visit(ExpressionAnd node) {
73    }
74
75
76    @Override
77    public void visit(ExpressionNot node) {
78    }
79
80
81    @Override
82    public void visit(SimpleWithin node) {
83    }
84
85} // class QueryVistorAdapter
Note: See TracBrowser for help on using the repository browser.