void (final Rectangle value, final XmlWriter writer) { writer.addAttribute("x",value.x); writer.addAttribute("y",value.y); writer.addAttribute("width",value.width); writer.addAttribute("height",value.height); }