writer.writeText(assembly.getName());
writer.writeText(assembly.getComponentArtifact() .getComponentDefinitionByUuid(assembly.getComponentUuid()) .getName());
	public void write(Writer w, ServiceAssembly assembly) {		XMLWriter writer = new PrettyPrintXMLWriter(w, "UTF-8", null);		writer.startElement("jbi");		writer.addAttribute("xmlns", "http://java.sun.com/xml/ns/jbi");		writer.addAttribute("version", "1.0");		writer.startElement("service-assembly");		writer.startElement("identification");		writer.startElement("name");		writer.writeText(assembly.getName());		writer.endElement();		writer.startElement("description");		// writer.writeText(assembly.getDescription());		writer.endElement();		for (ServiceUnit unit : assembly.getServiceUnit()) {			writer.startElement("service-unit");			writer.startElement("identification");			writer.startElement("name");			writer.addAttribute("xmlns:ns1", unit.getServiceName()					.getNamespaceURI());			writer.writeText("ns1:" + unit.getServiceName().getLocalPart());			writer.endElement();			writer.startElement("description");			// writer.writeText(unit.getDescription());			writer.endElement();			writer.endElement();			writer.startElement("target");			writer.startElement("artifacts-zip");			writer.writeText(unit.getServiceName().getLocalPart() + ".zip");			writer.endElement();			writer.startElement("component-name");			writer.writeText(assembly.getName());			writer.endElement();			writer.endElement();			writer.endElement();		}		writer.endElement();		writer.endElement();		writer.endElement();	}