writeAttributes(proto);
    private void writeClass(String proto) {	if (processedProtos.contains(proto)) {	    // already been here	    return;	}	Attributes attrs = proto_attrs.get(proto);	String parent = attrs.getValue("prototype");	String generalizationId = null;	if (parent != null) {	    writeClass(parent);	    // write the generalization	    generalizationId = nextUID();	    writeGeneralization(generalizationId, parent, proto);	}	// write myself	String elt = classElement(proto);	String id = class_uids.get(proto);	writer.println("        <" + elt+ " xmi.id='" +id+ "' name='" +proto+ "'>");	if (generalizationId != null) {	    writer.println("          <UML:GeneralizableElement.generalization>");	    writer.println("            <UML:Generalization xmi.idref ='" +generalizationId+ "'/>");	    writer.println("          </UML:GeneralizableElement.generalization>");	}	writer.println("        </" +elt+ ">");	writeAttributes(proto);	processedProtos.add(proto);    }