KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > mondrian > mdx > MdxVisitorImpl


1 /*
2 // $Id: //open/mondrian/src/main/mondrian/mdx/MdxVisitorImpl.java#1 $
3 // This software is subject to the terms of the Common Public License
4 // Agreement, available at the following URL:
5 // http://www.opensource.org/licenses/cpl.html.
6 // Copyright (C) 2006-2006 Julian Hyde
7 // All Rights Reserved.
8 // You must accept the terms of that agreement to use this software.
9 */

10 package mondrian.mdx;
11
12 import mondrian.olap.*;
13
14 /**
15  * Default implementation of the visitor interface, {@link MdxVisitor}.
16  *
17  * <p>The method implementations just ask the child nodes to
18  * {@link Exp#accept(MdxVisitor)} this visitor.
19  *
20  * @author jhyde
21  * @version $Id: //open/mondrian/src/main/mondrian/mdx/MdxVisitorImpl.java#1 $
22  * @since Jul 21, 2006
23  */

24 public class MdxVisitorImpl implements MdxVisitor {
25     public Object JavaDoc visit(Query query) {
26         return null;
27     }
28
29     public Object JavaDoc visit(QueryAxis queryAxis) {
30         return null;
31     }
32
33     public Object JavaDoc visit(Formula formula) {
34         return null;
35     }
36
37     public Object JavaDoc visit(UnresolvedFunCall call) {
38         return null;
39     }
40
41     public Object JavaDoc visit(ResolvedFunCall call) {
42         return null;
43     }
44
45     public Object JavaDoc visit(Id id) {
46         return null;
47     }
48
49     public Object JavaDoc visit(ParameterExpr parameterExpr) {
50         return null;
51     }
52
53     public Object JavaDoc visit(DimensionExpr dimensionExpr) {
54         // do nothing
55
return null;
56     }
57
58     public Object JavaDoc visit(HierarchyExpr hierarchyExpr) {
59         // do nothing
60
return null;
61     }
62
63     public Object JavaDoc visit(LevelExpr levelExpr) {
64         // do nothing
65
return null;
66     }
67
68     public Object JavaDoc visit(MemberExpr memberExpr) {
69         // do nothing
70
return null;
71     }
72
73     public Object JavaDoc visit(NamedSetExpr namedSetExpr) {
74         // do nothing
75
return null;
76     }
77
78     public Object JavaDoc visit(Literal literal) {
79         // do nothing
80
return null;
81     }
82 }
83
84 // End MdxVisitorImpl.java
85
Popular Tags