-// $Id: CQLBooleanNode.java,v 1.10 2002-11-20 17:26:42 mike Exp $
+// $Id: CQLBooleanNode.java,v 1.11 2002-11-20 17:56:22 mike Exp $
package org.z3950.zing.cql;
import java.util.Properties;
/**
* Represents a boolean node in a CQL parse-tree.
*
- * @version $Id: CQLBooleanNode.java,v 1.10 2002-11-20 17:26:42 mike Exp $
+ * @version $Id: CQLBooleanNode.java,v 1.11 2002-11-20 17:56:22 mike Exp $
*/
public abstract class CQLBooleanNode extends CQLNode {
CQLBooleanNode() {} // prevent javadoc from documenting this
// Represents the boolean operation itself: overridden for CQLProxNode
String opXCQL(int level) {
- System.err.println("in CQLBooleanNode.opXCQL()");
return(indent(level) + "<boolean>\n" +
indent(level+1) + "<value>" + op() + "</value>\n" +
indent(level) + "</boolean>\n");
-// $Id: CQLProxNode.java,v 1.5 2002-11-20 17:26:42 mike Exp $
+// $Id: CQLProxNode.java,v 1.6 2002-11-20 17:56:22 mike Exp $
package org.z3950.zing.cql;
import java.util.Vector;
* candidate records which are sufficiently close to each other, as
* specified by a set of proximity parameters.
*
- * @version $Id: CQLProxNode.java,v 1.5 2002-11-20 17:26:42 mike Exp $
+ * @version $Id: CQLProxNode.java,v 1.6 2002-11-20 17:56:22 mike Exp $
*/
public class CQLProxNode extends CQLBooleanNode {
ModifierSet ms;
}
String opXCQL(int level) {
- System.err.println("in CQLProxNode.opXCQL()");
return ms.toXCQL(level, "boolean");
}
-// $Id: ModifierSet.java,v 1.6 2002-11-20 17:26:42 mike Exp $
+// $Id: ModifierSet.java,v 1.7 2002-11-20 17:56:22 mike Exp $
package org.z3950.zing.cql;
import java.util.Vector;
* zero or more <I>type</I>=<I>value</I> pairs, where both type and
* value are strings. Types may be null, values may not.
*
- * @version $Id: ModifierSet.java,v 1.6 2002-11-20 17:26:42 mike Exp $
+ * @version $Id: ModifierSet.java,v 1.7 2002-11-20 17:56:22 mike Exp $
*/
public class ModifierSet {
String base;
}
public String toXCQL(int level, String topLevelElement) {
- System.err.println("in ModifierSet.toXCQL()");
StringBuffer buf = new StringBuffer();
buf.append (Utils.indent(level) + "<" + topLevelElement + ">\n" +
Utils.indent(level+1) + "<value>" + Utils.xq(base) +