source: FCSSimpleEndpoint/tags/FCSSimpleEndpoint-1.3.0/src/main/java/eu/clarin/sru/server/fcs/parser/QueryVistorAdapter.java @ 6957

Last change on this file since 6957 was 6957, checked in by Oliver Schonefeld, 8 years ago
  • tag version 1.3.0
  • Property svn:eol-style set to native
File size: 1.7 KB
Line 
1/**
2 * This software is copyright (c) 2013-2016 by
3 *  - 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 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 QueryVistorAdapter implements QueryVisitor {
25
26    @Override
27    public void visit(QuerySegment querySegment) {
28    }
29
30
31    @Override
32    public void visit(QueryGroup queryGroup) {
33    }
34
35
36    @Override
37    public void visit(QuerySequence querySequence) {
38    }
39
40
41    @Override
42    public void visit(QueryDisjunction queryDisjunction) {
43    }
44
45
46    @Override
47    public void visit(QueryWithWithin queryWithWithin) {
48    }
49
50
51    @Override
52    public void visit(Expression expressionBasic) {
53    }
54
55
56    @Override
57    public void visit(ExpressionWildcard expressionWildcard) {
58    }
59
60
61    @Override
62    public void visit(ExpressionGroup expressionGroup) {
63    }
64
65
66    @Override
67    public void visit(ExpressionOr expressionOr) {
68    }
69
70
71    @Override
72    public void visit(ExpressionAnd expressionAnd) {
73    }
74
75
76    @Override
77    public void visit(ExpressionNot expressionNot) {
78    }
79
80
81    @Override
82    public void visit(SimpleWithin simpleWithin) {
83    }
84
85} // class QueryVistorAdapter
Note: See TracBrowser for help on using the repository browser.