writer.writeEndElement();
writer.writeEndElement();
}
public void writeProject(XMLStreamWriter writer, Project project) throws Exception {
ProjectInformation info = project.getLookup().lookup(ProjectInformation.class);
ProjectMetaData metaData = project.getLookup().lookup(ProjectMetaData.class);
WorkspaceProviderImpl workspaces = project.getLookup().lookup(WorkspaceProviderImpl.class);
writer.writeStartElement("project");
writer.writeAttribute("name", info.getName());
//MetaData
writer.writeStartElement("metadata");
writer.writeStartElement("title");