2 package org.z3950.zing.cql;
6 * Represents an AND node in a CQL parse-tree.
9 public class CQLAndNode extends CQLBooleanNode {
11 * Creates a new AND node with the specified left- and right-hand
12 * sides and modifiers.
14 public CQLAndNode(CQLNode left, CQLNode right, ModifierSet ms) {
15 super(left, right, ms);
18 // ### Too much code duplication here with OR and NOT
21 byte[] op = new byte[5];
22 putTag(CONTEXT, 46, CONSTRUCTED, op, 0); // Operator
24 putTag(CONTEXT, 0, PRIMITIVE, op, 3); // and