code: @Deprecated
      public Category browse(String catId) throws FlickrException {
          List<Subcategory> subcategories = new ArrayList<Subcategory>();
          List<Group> groups = new ArrayList<Group>();
  
          Map<String, Object> parameters = new HashMap<String, Object>();
          parameters.put("method", METHOD_BROWSE);
  
          if (catId != null) {
              parameters.put("cat_id", catId);
          }
  
          Response response = transportAPI.get(transportAPI.getPath(), parameters, apiKey, sharedSecret);
          if (response.isError()) {
              throw new FlickrException(response.getErrorCode(), response.getErrorMessage());
          }
          Element categoryElement = response.getPayload();
  
          Category category = new Category();
          category.setName(categoryElement.getAttribute("name"));
          category.setPath(categoryElement.getAttribute("path"));
          category.setPathIds(categoryElement.getAttribute("pathids"));
  
          NodeList subcatNodes = categoryElement.getElementsByTagName("subcat");
          for (int i = 0; i < subcatNodes.getLength(); i++) {
              Element node = (Element) subcatNodes.item(i);
              Subcategory subcategory = new Subcategory();
              subcategory.setId(Integer.parseInt(node.getAttribute("id")));
              subcategory.setName(node.getAttribute("name"));
              subcategory.setCount(Integer.parseInt(node.getAttribute("count")));
  
              subcategories.add(subcategory);
          }
  
          NodeList groupNodes = categoryElement.getElementsByTagName("group");
          for (int i = 0; i < groupNodes.getLength(); i++) {
              Element node = (Element) groupNodes.item(i);
              Group group = new Group();
              group.setId(node.getAttribute("nsid"));
              group.setName(node.getAttribute("name"));
              group.setMembers(node.getAttribute("members"));
  
              groups.add(group);
          }
  
          category.setGroups(groups);
          category.setSubcategories(subcategories);
  
          return category;
      }
docs: Browse groups for the given category ID. If a null value is passed for the category then the root category is used.
  
  @param catId
  The optional category id. Null value will be ignored.
  @return The Collection of Photo objects
  @throws FlickrException
  @deprecated Flickr returns just empty results