-// $Id: CQLNode.java,v 1.26 2007-07-03 13:36:03 mike Exp $
package org.z3950.zing.cql;
import java.util.HashMap;
/**
* Represents a node in a CQL parse-tree.
*
- * @version $Id: CQLNode.java,v 1.26 2007-07-03 13:36:03 mike Exp $
*/
public abstract class CQLNode {
+
+ public abstract void traverse(CQLNodeVisitor visitor);
/**
* Returns the name of the result-set to which this query is a
System.arraycopy(qry, 0, q, 0, offset);
return q;
}
+
+ @Override
+ public String toString() {
+ return toCQL();
+ }
}