/** * Tests if a Element <code>element</code> is valid for the <code>FcTable</code>. * * @param element * @return boolean */ public static boolean isMatch(Element element) { if (!URelaxer.isTargetElement(element, "table")) { return (false); } RStack target = new RStack(element); boolean $match$ = false; Element child; if (FcCaption.isMatchHungry(target)) {} if (!FcTr.isMatchHungry(target)) { return (false); } $match$ = true; while (true) { if (!FcTr.isMatchHungry(target)) { break; } $match$ = true; } if (!target.isEmptyElement()) { return (false); } return (true); }