void (final XmlWriter writer, final RadContainer radContainer) { BorderLayout layout = (BorderLayout) radContainer.getLayout(); writer.addAttribute(UIFormXmlConstants.ATTRIBUTE_HGAP, layout.getHgap()); writer.addAttribute(UIFormXmlConstants.ATTRIBUTE_VGAP, layout.getVgap()); }