1 // $Id: CQLNotNode.java,v 1.9 2007-06-29 12:48:21 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.9 2007-06-29 12:48:21 mike Exp $
11 public class CQLNotNode extends CQLBooleanNode {
13 * Creates a new NOT node with the specified left- and right-hand
14 * sides and modifiers.
16 public CQLNotNode(CQLNode left, CQLNode right, ModifierSet ms) {
17 super(left, right, ms);
21 byte[] op = new byte[5];
22 putTag(CONTEXT, 46, CONSTRUCTED, op, 0); // Operator
24 putTag(CONTEXT, 2, PRIMITIVE, op, 3); // and-not