void (final XmlWriter writer, final RadComponent child) { // Constraints of XY layout writer.startElement("xy"); try{ writer.addAttribute("x", child.getX()); writer.addAttribute("y", child.getY()); writer.addAttribute("width", child.getWidth()); writer.addAttribute("height", child.getHeight()); }finally{ writer.endElement(); // xy } }