-// $Id: CQLBooleanNode.java,v 1.3 2002-10-25 16:56:43 mike Exp $
+// $Id: CQLBooleanNode.java,v 1.4 2002-10-25 19:44:31 mike Exp $
package org.z3950.zing.cql;
* Represents a boolean node in a CQL parse-tree ...
* ###
*
- * @version $Id: CQLBooleanNode.java,v 1.3 2002-10-25 16:56:43 mike Exp $
+ * @version $Id: CQLBooleanNode.java,v 1.4 2002-10-25 19:44:31 mike Exp $
*/
public abstract class CQLBooleanNode extends CQLNode {
protected CQLNode left;
abstract String op();
String toXCQL(int level) {
- return(indent(level) + "<triple>\n" +
- indent(level+1) + "<boolean>" + op() + "</boolean>\n" +
- left.toXCQL(level+1) +
- right.toXCQL(level+1) +
- indent(level) + "</triple>\n");
+ return (indent(level) + "<triple>\n" +
+ indent(level+1) + "<boolean>" + op() + "</boolean>\n" +
+ left.toXCQL(level+1) +
+ right.toXCQL(level+1) +
+ indent(level) + "</triple>\n");
}
String toCQL() {