void (final XmlWriter writer) { writer.startElement(UIFormXmlConstants.ELEMENT_GROUP); writer.addAttribute(UIFormXmlConstants.ATTRIBUTE_NAME, myName); if (myBound) { writer.addAttribute(UIFormXmlConstants.ATTRIBUTE_BOUND, true); } for(String id: myComponentIds) { writer.startElement(UIFormXmlConstants.ELEMENT_MEMBER); writer.addAttribute(UIFormXmlConstants.ATTRIBUTE_ID, id); writer.endElement(); } writer.endElement(); }