Node resourceStorageNode = XMLConverterUtility.findNode(node, "ResourceStorage");
ResourceStorageManager resourceStorageManager = new ResourceStorageManagerXMLConverter().initializeFromNode(realm, resourceStorageNode);
containerManager.setResourceStorageManager(resourceStorageManager);
Node unitContainerManagerNode = XMLConverterUtility.findNode(node, "UnitContainerManager");
if (unitContainerManagerNode != null) {
UnitContainerManager unitContainerManager = new UnitContainerManagerXMLConverter(containerUnit).initializeFromNode(realm, unitContainerManagerNode);
containerManager.setUnitContainerManager(unitContainerManager);
}
Node populationNode = XMLConverterUtility.findNode(node, "containedPopulation");
if (populationNode != null) {
int population = Integer.parseInt(populationNode.getFirstChild().getNodeValue());