void () { if (UIFormXmlConstants.LAYOUT_BORDER.equals(myLayoutManager)) { myLayoutSerializer = BorderLayoutSerializer.INSTANCE; } else if (UIFormXmlConstants.LAYOUT_FLOW.equals(myLayoutManager)) { myLayoutSerializer = FlowLayoutSerializer.INSTANCE; } else if (UIFormXmlConstants.LAYOUT_CARD.equals(myLayoutManager)) { myLayoutSerializer = CardLayoutSerializer.INSTANCE; } else if (UIFormXmlConstants.LAYOUT_XY.equals(myLayoutManager)) { myLayoutSerializer = XYLayoutSerializer.INSTANCE; } else if (UIFormXmlConstants.LAYOUT_FORM.equals(myLayoutManager)) { myLayoutSerializer = FormLayoutSerializer.INSTANCE; } else if (UIFormXmlConstants.LAYOUT_GRIDBAG.equals(myLayoutManager)) { myLayoutSerializer = GridBagLayoutSerializer.INSTANCE; } else { myLayoutSerializer = GridLayoutSerializer.INSTANCE; } }