| 2 | import org.xmlet.htmlapifaster.*; |
| 3 | |
| 4 | public class Flowified { |
| 5 | public static void get(StringBuilder out) { |
| 6 | HtmlFlow.doc(out).setIndented(false) |
| 7 | .html() |
| 8 | .head() |
| 9 | .title() |
| 10 | .raw("HtmlFlow") |
| 11 | .__() //title |
| 12 | .__() //head |
| 13 | .body() |
| 14 | .div().attrClass("container") |
| 15 | .h1() |
| 16 | .raw("My first page with HtmlFlow") |
| 17 | .__() //h1 |
| 18 | .img().attrSrc("https://avatars1.githubusercontent.com/u/35267172") |
| 19 | .__() //img |
| 20 | .p() |
| 21 | .raw("Typesafe is awesome! :-)") |
| 22 | .__() //p |
| 23 | .__() //div |
| 24 | .__() //body |
| 25 | .__() //html |
| 26 | ; |
| 27 | } |
| 28 | } |
nothing calls this directly
no outgoing calls
no test coverage detected