com.tonbeller.jpivot.olap.query
Class ExprStringConverter
java.lang.Object
com.tonbeller.jpivot.olap.model.VisitorSupportStrict
com.tonbeller.jpivot.olap.query.ExprStringConverter
- All Implemented Interfaces:
- Visitor
public class ExprStringConverter
- extends VisitorSupportStrict
Expression to String converter
Field Summary |
protected java.lang.StringBuffer |
strbuf
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
strbuf
protected java.lang.StringBuffer strbuf
ExprStringConverter
public ExprStringConverter()
exprToString
public java.lang.String exprToString(Expression e)
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