statWriter.writeElement("sortOption",String.valueOf(criteria.getSortOption()),false,false);
addSpaces(sb,5);
String[] dc = criteria.getDataCategory();
sb.append("},");
addSpaces(sb,5);
Query qry = eu.getQuery();
// JSONObject qjso = new JSONObject();
// qjso.put("criteria", qry.toString());
// sb.append("\"query\":" + Val.escapeStrForJson(qry.toString()) + ",");
// addSpaces(sb,4);
Set<String> restrictions = eu.getRestrictions();