X-Git-Url: http://git.indexdata.com/?p=cql-java-moved-to-github.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fz3950%2Fzing%2Fcql%2FCQLNode.java;h=88b50ca0783aacfdfbf8f53172d73fca37dcb763;hp=34add8ed04c3d5b4d83b5619d1b9b9583ba008fc;hb=7cff92fa0b727aa844456f130744ec2fe263ba48;hpb=f079ba53623fc80782044f8f06488d19a3948b27 diff --git a/src/main/java/org/z3950/zing/cql/CQLNode.java b/src/main/java/org/z3950/zing/cql/CQLNode.java index 34add8e..88b50ca 100644 --- a/src/main/java/org/z3950/zing/cql/CQLNode.java +++ b/src/main/java/org/z3950/zing/cql/CQLNode.java @@ -6,6 +6,8 @@ import java.util.List; import java.util.Map; import java.util.Properties; +import static org.z3950.zing.cql.Utils.*; + /** * Represents a node in a CQL parse-tree. @@ -113,18 +115,6 @@ public abstract class CQLNode { throws PQFTranslationException; /** - * Returns a String of spaces for indenting to the specified level. - */ - protected static String indent(int level) { return Utils.indent(level); } - - /** - * Returns the argument String quoted for XML. - * For example, each occurrence of < is translated to - * &lt;. - */ - protected static String xq(String str) { return Utils.xq(str); } - - /** * Renders a parser-tree into a BER-endoded packet representing an * equivalent Z39.50 Type-1 query. If you don't know what that * means, then you don't need this method :-) This is useful