1 package sharin.doc.builder.xhtml1;
2
3 public class UlElem extends GenericCommonElem<UlElem> {
4
5 public UlElem(Object... nodes) {
6 super("ul", nodes);
7 }
8
9 public UlElem compact(boolean compact) {
10 return compact ? compact("compact") : this;
11 }
12
13 public UlElem compact(Object value) {
14 return attr("compact", value);
15 }
16
17 public UlElem type(Object value) {
18 return attr("type", value);
19 }
20
21 public UlElem typeCircle() {
22 return type("circle");
23 }
24
25 public UlElem typeDisc() {
26 return type("disc");
27 }
28
29 public UlElem typeSquare() {
30 return type("square");
31 }
32 }