code: public void addQuery(Query query)
    {
      if(query == null)
        return;
      try
      {
        if(!query.getEncoding().equals(getEncoding()))
          throw new RuntimeException("TODO");
  
        addQuery(query.getQuery(), false);
      }
      catch(URISyntaxException e)
      {
        // shouldn't happen since a query is already properly formatted
        throw new RuntimeException(e);
      }
    }
docs: Simply adds the query provided.
  
  @param query the query (<code>null</code> is ok)