xml.append("</settlementCountMission>\n");
return xml.toString();
}
public SettlementCountMission initializeFromNode(Realm realm, Node node) {
SettlementCountMission mission = new SettlementCountMission();
Node settlementCountNode = XMLConverterUtility.findNode(node, "settlementCount");
int settlementCount = Integer.parseInt(settlementCountNode.getFirstChild().getNodeValue());
mission.setSettlementCount(settlementCount);
initializeMissionFromNode(realm, node, mission);
initializeMissionRewardsFromNode(realm, node, mission);
return mission;
}