code: public ArrayList<PlaceType> getPlaceTypes() throws FlickrException {
          Map<String, Object> parameters = new HashMap<String, Object>();
          parameters.put("method", METHOD_GET_PLACETYPES);
  
          Response response = transportAPI.get(transportAPI.getPath(), parameters, apiKey, sharedSecret);
          if (response.isError()) {
              throw new FlickrException(response.getErrorCode(), response.getErrorMessage());
          }
          ArrayList<PlaceType> placeTypeList = new ArrayList<PlaceType>();
          Element placeTypeElement = response.getPayload();
          NodeList placeTypeNodes = placeTypeElement.getElementsByTagName("place_type");
          for (int i = 0; i < placeTypeNodes.getLength(); i++) {
              placeTypeElement = (Element) placeTypeNodes.item(i);
              PlaceType placeType = new PlaceType();
              placeType.setPlaceTypeId(placeTypeElement.getAttribute("id"));
              placeType.setPlaceTypeName(XMLUtilities.getValue(placeTypeElement));
              placeTypeList.add(placeType);
          }
          return placeTypeList;
      }
docs: Fetches a list of available place types for Flickr.
  
  <p>
  This method does not require authentication.
  </p>
  
  @return A list of placetypes
  @throws FlickrException