loadFromTarget();
}
private void parseLayout() throws ParserConfigurationException, SAXException, IOException {
FormLayout layout = getTarget().getClass().getAnnotation(FormLayout.class);
if (layout != null) {
String xml = layout.value();
if (!xml.startsWith("<"))
xml = "<layout " + xml + "/>";
elementHandler.setBaseElement(doc, root);
parser.parse(new ByteArrayInputStream(xml.getBytes()), elementHandler);