com.tonbeller.jpivot.olap.model
Class ExpressionPrinter
java.lang.Object
com.tonbeller.jpivot.olap.model.VisitorSupportStrict
com.tonbeller.jpivot.olap.model.ExpressionPrinter
- All Implemented Interfaces:
- Visitor
public class ExpressionPrinter
- extends VisitorSupportStrict
prints an expression for testing purposes
- Author:
- av
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExpressionPrinter
public ExpressionPrinter()
print
public java.lang.String print(Visitable e)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
visitBooleanExpr
public void visitBooleanExpr(BooleanExpr v)
- Specified by:
visitBooleanExpr
in interface Visitor
- Overrides:
visitBooleanExpr
in class VisitorSupportStrict
visitDimension
public void visitDimension(Dimension v)
- Specified by:
visitDimension
in interface Visitor
- Overrides:
visitDimension
in class VisitorSupportStrict
visitDoubleExpr
public void visitDoubleExpr(DoubleExpr v)
- Specified by:
visitDoubleExpr
in interface Visitor
- Overrides:
visitDoubleExpr
in class VisitorSupportStrict
visitFunCallExpr
public void visitFunCallExpr(FunCallExpr v)
- Specified by:
visitFunCallExpr
in interface Visitor
- Overrides:
visitFunCallExpr
in class VisitorSupportStrict
visitHierarchy
public void visitHierarchy(Hierarchy v)
- Specified by:
visitHierarchy
in interface Visitor
- Overrides:
visitHierarchy
in class VisitorSupportStrict
visitIntegerExpr
public void visitIntegerExpr(IntegerExpr v)
- Specified by:
visitIntegerExpr
in interface Visitor
- Overrides:
visitIntegerExpr
in class VisitorSupportStrict
visitLevel
public void visitLevel(Level v)
- Specified by:
visitLevel
in interface Visitor
- Overrides:
visitLevel
in class VisitorSupportStrict
visitMember
public void visitMember(Member v)
- Specified by:
visitMember
in interface Visitor
- Overrides:
visitMember
in class VisitorSupportStrict
visitParameterExpr
public void visitParameterExpr(ParameterExpr v)
- Specified by:
visitParameterExpr
in interface Visitor
- Overrides:
visitParameterExpr
in class VisitorSupportStrict
visitStringExpr
public void visitStringExpr(StringExpr v)
- Specified by:
visitStringExpr
in interface Visitor
- Overrides:
visitStringExpr
in class VisitorSupportStrict
visitPropertyExpr
public void visitPropertyExpr(PropertyExpr v)
- Specified by:
visitPropertyExpr
in interface Visitor
- Overrides:
visitPropertyExpr
in class VisitorSupportStrict