public static Rows parse(String markup) { Tables table = new Tables(); String[] rows = markup.split("\\n"); for (String cells : rows) { if (StringUtil.isBlank(cells)) continue; Rows row = (Rows) table.addChild(); if (!isRowEmpty(cells)) row.addChild(Cells.parse(cells)); } return (Rows) table.firstChild(); }