code: private void _serializeQuery(String name, Query query, StringBuilder sb, Set<Object> done) throws ConverterException {
  	if (useWDDX) _serializeWDDXQuery(name, query, sb, done);
  	else _serializeASQuery(name, query, sb, done);
      }
docs: serialize a Query
  
  @param query Query to serialize
  @param done
  @return serialized query
  @throws ConverterException