View Javadoc

    1   package sharin.doc.builder.xhtml1;
    2
    3   public class HrElem extends GenericCommonElem<HrElem> {
    4
    5       public HrElem(Object... nodes) {
    6           super("hr", nodes);
    7       }
    8
    9       public HrElem align(Object value) {
    10          return attr("align", value);
    11      }
    12
    13      public HrElem alignCenter() {
    14          return align("center");
    15      }
    16
    17      public HrElem alignLeft() {
    18          return align("left");
    19      }
    20
    21      public HrElem alignRight() {
    22          return align("right");
    23      }
    24
    25      public HrElem noshade(boolean noshade) {
    26          return noshade ? noshade("noshade") : this;
    27      }
    28
    29      public HrElem noshade(Object value) {
    30          return attr("noshade", value);
    31      }
    32
    33      public HrElem size(Object value) {
    34          return attr("size", value);
    35      }
    36
    37      public HrElem width(Object value) {
    38          return attr("width", value);
    39      }
    40  }