docs: public PhotoAllContext getAllContexts(String photoId) throws FlickrException {
          PhotoSetList<PhotoSet> setList = new PhotoSetList<PhotoSet>();
          PoolList<Pool> poolList = new PoolList<Pool>();
          PhotoAllContext allContext = new PhotoAllContext();
  
          Map<String, Object> parameters = new HashMap<String, Object>();
          parameters.put("method", METHOD_GET_ALL_CONTEXTS);
  
          parameters.put("photo_id", photoId);
  
          Response response = transport.get(transport.getPath(), parameters, apiKey, sharedSecret);
          if (response.isError()) {
              throw new FlickrException(response.getErrorCode(), response.getErrorMessage());
          }
          Collection<Element> photosElement = response.getPayloadCollection();
  
          for (Element setElement : photosElement) {
              if (setElement.getTagName().equals("set")) {
                  PhotoSet pset = new PhotoSet();
                  pset.setTitle(setElement.getAttribute("title"));
                  pset.setSecret(setElement.getAttribute("secret"));
                  pset.setId(setElement.getAttribute("id"));
                  pset.setFarm(setElement.getAttribute("farm"));
                  pset.setPrimary(setElement.getAttribute("primary"));
                  pset.setServer(setElement.getAttribute("server"));
                  pset.setViewCount(Integer.parseInt(setElement.getAttribute("view_count")));
                  pset.setCommentCount(Integer.parseInt(setElement.getAttribute("comment_count")));
                  pset.setCountPhoto(Integer.parseInt(setElement.getAttribute("count_photo")));
                  pset.setCountVideo(Integer.parseInt(setElement.getAttribute("count_video")));
                  setList.add(pset);
                  allContext.setPhotoSetList(setList);
              } else if (setElement.getTagName().equals("pool")) {
                  Pool pool = new Pool();
                  pool.setTitle(setElement.getAttribute("title"));
                  pool.setId(setElement.getAttribute("id"));
                  pool.setUrl(setElement.getAttribute("url"));
                  pool.setIconServer(setElement.getAttribute("iconserver"));
                  pool.setIconFarm(setElement.getAttribute("iconfarm"));
                  pool.setMemberCount(Integer.parseInt(setElement.getAttribute("members")));
                  pool.setPoolCount(Integer.parseInt(setElement.getAttribute("pool_count")));
                  poolList.add(pool);
                  allContext.setPoolList(poolList);
              }
          }
  
          return allContext;
  
      }