code: public List<FogbugzMilestone> getMilestones() {
          try {
              HashMap<String, String> params = new HashMap<String, String>();  // Hashmap defaults to <String, String>
              params.put("cmd", "listFixFors");
  
              Document doc = this.getFogbugzDocument(params);
  
              List<FogbugzMilestone> milestoneList = new ArrayList<FogbugzMilestone>();
              NodeList milestonesNodeList = doc.getElementsByTagName("fixfor");
              if (milestonesNodeList != null && milestonesNodeList.getLength() != 0) {
                  for (int i = 0; i < milestonesNodeList.getLength(); i++) {
                      Element currentNode = (Element) milestonesNodeList.item(i);
                      // Construct event object from retrieved data.
                      milestoneList.add(new FogbugzMilestone(
                              Integer.parseInt(currentNode.getElementsByTagName("ixFixFor").item(0).getTextContent()),
                              currentNode.getElementsByTagName("sFixFor").item(0).getTextContent(),
                              Boolean.valueOf(currentNode.getElementsByTagName("fDeleted").item(0).getTextContent()),
                              Boolean.valueOf(currentNode.getElementsByTagName("fReallyDeleted").item(0).getTextContent())
                      ));
                  }
              }
  
              return milestoneList;
  
          } catch (Exception e) {
              FogbugzManager.log.log(Level.SEVERE, "Exception while fetching milestones", e);
          }
          return new ArrayList<FogbugzMilestone>();
      }
docs: Retrieves all milestones and returns them in a nice List of FogbugzMilestone objects.
  @return list of FogbugzMilestones