1 package sharin.doc.builder.xhtml1; 2 3 public class OlElem extends GenericCommonElem<OlElem> { 4 5 public OlElem(Object... nodes) { 6 super("ol", nodes); 7 } 8 9 public OlElem compact(boolean compact) { 10 return compact ? compact("compact") : this; 11 } 12 13 public OlElem compact(Object value) { 14 return attr("compact", value); 15 } 16 17 public OlElem start(Object value) { 18 return attr("start", value); 19 } 20 21 public OlElem type(Object value) { 22 return attr("type", value); 23 } 24 }