1 22 23 package org.xquark.extractor.xfunctions; 24 25 import org.xquark.extractor.algebra.Expression; 26 import org.xquark.extractor.sql.SqlExpression; 27 28 59 public final class XfSubString extends Xfunction_String 60 { 61 62 private static final String RCSRevision = "$Revision: 1.3 $"; 63 private static final String RCSName = "$Name: $"; 64 65 66 public XfSubString() 67 { 68 super("XfSubString"); 69 } 70 71 public XfSubString( Expression arg0, Expression arg1) 72 { 73 super("XfSubString"); 74 setArgument(0, arg0); 75 setArgument(1, arg1); 76 } 77 78 public XfSubString( Expression arg0, Expression arg1,Expression arg2) 79 { 80 super("XfSubString"); 81 setArgument(0, arg0); 82 setArgument(1, arg1); 83 setArgument(2, arg2); 84 } 85 86 public SqlExpression accept(org.xquark.extractor.algebra.GenSqlVisitor visitor) 87 { 88 return visitor.visit(this); 89 } 90 91 public void accept(org.xquark.extractor.algebra.AlgebraVisitor visitor) 92 { 93 visitor.visit(this); 94 } 95 } 96 | Popular Tags |