public String getRewardsXML(Mission mission) {
StringBuffer xml = new StringBuffer();
xml.append("<rewards>\n");
Iterator<Reward> iterator = mission.getRewardsIterator();
while (iterator.hasNext()) {
Reward reward = iterator.next();
String xMLConverterName = TagManager.getXMLConverterName(reward.getName());
Class c;
try {
c = Class.forName(xMLConverterName);
XMLConverter<Reward> xMLConverter = (XMLConverter<Reward>) c.newInstance();
xml.append(xMLConverter.toXML(reward));