X-Git-Url: http://git.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fz3950%2Fzing%2Fcql%2FCQLPrefixNode.java;h=c793d2f81acd950b1fc6c35a4611453c45ffcb10;hb=63162cbb93bec07caf9a8ec00cb0c006fea8dabd;hp=84fb9a7dffe110aeccbc2fd2dd0899733f239e23;hpb=791833362f2e87616d70ffc3f1ce6b0191ff7a0f;p=cql-java-moved-to-github.git diff --git a/src/main/java/org/z3950/zing/cql/CQLPrefixNode.java b/src/main/java/org/z3950/zing/cql/CQLPrefixNode.java index 84fb9a7..c793d2f 100644 --- a/src/main/java/org/z3950/zing/cql/CQLPrefixNode.java +++ b/src/main/java/org/z3950/zing/cql/CQLPrefixNode.java @@ -41,6 +41,7 @@ public class CQLPrefixNode extends CQLNode { this.subtree = subtree; } + @Override public String toXCQL(int level, List prefixes, List sortkeys) { List tmp = (prefixes == null ? @@ -50,6 +51,7 @@ public class CQLPrefixNode extends CQLNode { return subtree.toXCQL(level, tmp, sortkeys); } + @Override public String toCQL() { // ### We don't always need parens around the subtree if (prefix.name == null) { @@ -61,6 +63,7 @@ public class CQLPrefixNode extends CQLNode { } } + @Override public String toPQF(Properties config) throws PQFTranslationException { // Prefixes and their identifiers don't actually play any role // in PQF translation, since the meanings of the indexes, @@ -69,6 +72,7 @@ public class CQLPrefixNode extends CQLNode { return subtree.toPQF(config); } + @Override public byte[] toType1BER(Properties config) throws PQFTranslationException { // See comment on toPQF() return subtree.toType1BER(config);