public static Layout parseText ( String xml ) { try { return parseDocument ( XMLUtil . parseXMLFromString ( xml ) ) ; } catch ( Exception e ) { throw MiscUtil . toUnchecked ( e ) ; } }
Parse the layout from XML content .