code: public String dump() throws RepositoryException {
          StringBuilder tmp = new StringBuilder();
          QueryTreeDump.dump(this, tmp);
          return tmp.toString();
      }
docs: Dumps this QueryNode and its child nodes to a String.
  @return the query tree as a String.
  @throws RepositoryException