Rename the toType1() method to the more explicit toType1BER()
[cql-java-moved-to-github.git] / src / org / z3950 / zing / cql / CQLRelation.java
index 36fae4a..cd0c0b9 100644 (file)
@@ -1,4 +1,4 @@
-// $Id: CQLRelation.java,v 1.6 2002-11-17 23:29:02 mike Exp $
+// $Id: CQLRelation.java,v 1.10 2002-12-11 17:14:20 mike Exp $
 
 package org.z3950.zing.cql;
 import java.util.Vector;
@@ -8,7 +8,7 @@ import java.lang.StringBuffer;
 /**
  * Represents a relation between a CQL qualifier and term.
  *
- * @version    $Id: CQLRelation.java,v 1.6 2002-11-17 23:29:02 mike Exp $
+ * @version    $Id: CQLRelation.java,v 1.10 2002-12-11 17:14:20 mike Exp $
  */
 public class CQLRelation extends CQLNode {
     ModifierSet ms;
@@ -59,7 +59,7 @@ public class CQLRelation extends CQLNode {
        return s;
     }
 
-    public String toXCQL(int level) {
+    public String toXCQL(int level, Vector prefixes) {
        return ms.toXCQL(level, "relation");
     }
 
@@ -70,4 +70,8 @@ public class CQLRelation extends CQLNode {
     public String toPQF(Properties config) throws PQFTranslationException {
        throw new Error("CQLRelation.toPQF() can never be called");
     }
+
+    public byte[] toType1BER(Properties config) {
+       throw new Error("CQLRelation.toType1BER() can never be called");
+    }
 }