MCPcopy Create free account
hub / github.com/xmlet/HtmlFlow / Flowified

Class Flowified

flowifier/src/test/resources/htmlflowSample05ForFlowifier.java:4–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import org.xmlet.htmlapifaster.*;
3
4public 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected