docs: public List<Brand> getBrands() throws FlickrException {
          Map<String, Object> parameters = new HashMap<String, Object>();
          parameters.put("method", METHOD_GET_BRANDS);
  
          Response response = transportAPI.get(transportAPI.getPath(), parameters, apiKey, sharedSecret);
          if (response.isError()) {
              throw new FlickrException(response.getErrorCode(), response.getErrorMessage());
          }
  
          List<Brand> lst = new ArrayList<Brand>();
          Element mElement = response.getPayload();
          NodeList brandElements = mElement.getElementsByTagName("brand");
          for (int i = 0; i < brandElements.getLength(); i++) {
              Element brandElement = (Element) brandElements.item(i);
              Brand brand = new Brand();
              brand.setId(brandElement.getAttribute("id"));
              brand.setName(brandElement.getAttribute("name"));
              lst.add(brand);
          }
  
          return lst;
      }