xml.append("<managedObjectCount>" + realm.getManagedObjectCount() + "</managedObjectCount>\n");
xml.append(XMLConverterUtility.convertPropertiestoXML(realm.getProperties()) + "\n");
xml.append((new ResourceManagerXMLWrapper(realm.getResourceManager())).toXML() + "\n");
xml.append((new BonusResourceManagerXMLConverter()).toXML(realm.getBonusResourceManager()) + "\n");
xml.append((new TileTypeManagerXMLWrapper(realm.getTileTypeManager())).toXML() + "\n");
xml.append((new TileImprovementManagerXMLConverter()).toXML(realm.getTileImprovementTypeManager()) + "\n");
xml.append(new VegetationManagerImplXMLConverter().toXML(realm.getVegetationManager()));
xml.append((new UnitTypeManagerXMLWrapper(realm.getUnitTypeManager())).toXML() + "\n");
xml.append((new CityImprovementManagerXMLWrapper(realm.getSettlementImprovementManager())).toXML() + "\n");
xml.append((new NationManagerXMLWrapper(realm.getNationManager())).toXML() + "\n");
xml.append((new PlayerManagerXMLWrapper(realm.getPlayerManager())).toXML() + "\n");