I am looking for an HTML object model in Java that is capable of parsing HTML (optional) and containing all HTML elements (and CSS) in an elegant object model.
I am looking for a clean java version of Groovy HTML Designer. (Iām out of luck with Google with this request.)
I want to be able to do things like:
HTML html = new HTML();
Body body = html.body();
Table table body.addTable(myCssStyle);
Row row = table.addRow("a", "b", "c").withCss(cssRowStyle);
etc.
source
share