1 // $Id: CQLNotNode.java,v 1.7 2007-06-29 10:22:12 mike Exp $
3 package org.z3950.zing.cql;
7 * Represents a NOT node in a CQL parse-tree.
9 * @version $Id: CQLNotNode.java,v 1.7 2007-06-29 10:22:12 mike Exp $
11 public class CQLNotNode extends CQLBooleanNode {
13 * Creates a new NOT node with the specified left- and right-hand sides.
15 public CQLNotNode(CQLNode left, CQLNode right, ModifierSet ms) {
16 super(left, right, ms);
24 byte[] op = new byte[5];
25 putTag(CONTEXT, 46, CONSTRUCTED, op, 0); // Operator
27 putTag(CONTEXT, 2, PRIMITIVE, op, 3); // and-not