001    /*
002    // $Id: //open/mondrian/src/main/mondrian/mdx/MdxVisitorImpl.java#1 $
003    // This software is subject to the terms of the Common Public License
004    // Agreement, available at the following URL:
005    // http://www.opensource.org/licenses/cpl.html.
006    // Copyright (C) 2006-2006 Julian Hyde
007    // All Rights Reserved.
008    // You must accept the terms of that agreement to use this software.
009    */
010    package mondrian.mdx;
011    
012    import mondrian.olap.*;
013    
014    /**
015     * Default implementation of the visitor interface, {@link MdxVisitor}.
016     *
017     * <p>The method implementations just ask the child nodes to
018     * {@link Exp#accept(MdxVisitor)} this visitor.
019     *
020     * @author jhyde
021     * @version $Id: //open/mondrian/src/main/mondrian/mdx/MdxVisitorImpl.java#1 $
022     * @since Jul 21, 2006
023     */
024    public class MdxVisitorImpl implements MdxVisitor {
025        public Object visit(Query query) {
026            return null;
027        }
028    
029        public Object visit(QueryAxis queryAxis) {
030            return null;
031        }
032    
033        public Object visit(Formula formula) {
034            return null;
035        }
036    
037        public Object visit(UnresolvedFunCall call) {
038            return null;
039        }
040    
041        public Object visit(ResolvedFunCall call) {
042            return null;
043        }
044    
045        public Object visit(Id id) {
046            return null;
047        }
048    
049        public Object visit(ParameterExpr parameterExpr) {
050            return null;
051        }
052    
053        public Object visit(DimensionExpr dimensionExpr) {
054            // do nothing
055            return null;
056        }
057    
058        public Object visit(HierarchyExpr hierarchyExpr) {
059            // do nothing
060            return null;
061        }
062    
063        public Object visit(LevelExpr levelExpr) {
064            // do nothing
065            return null;
066        }
067    
068        public Object visit(MemberExpr memberExpr) {
069            // do nothing
070            return null;
071        }
072    
073        public Object visit(NamedSetExpr namedSetExpr) {
074            // do nothing
075            return null;
076        }
077    
078        public Object visit(Literal literal) {
079            // do nothing
080            return null;
081        }
082    }
083    
084    // End MdxVisitorImpl.java