return (true);
}
});
}
Project project = (Project) unmarshaller.unmarshal(doc);
HashMap<BigInteger, ProjectCalendar> calendarMap = new HashMap<BigInteger, ProjectCalendar>();
readProjectHeader(project);
readProjectExtendedAttributes(project);
readCalendars(project, calendarMap);
readResources(project, calendarMap);
readTasks(project);
readAssignments(project);
//
// Ensure that the unique ID counters are correct
//
m_projectFile.updateUniqueCounters();
//
// Ensure that the default calendar name is set in the project header
//
ProjectCalendar defaultCalendar = calendarMap.get(project.getCalendarUID());
if (defaultCalendar != null)
{
m_projectFile.getProjectHeader().setCalendarName(defaultCalendar.getName());
}