View Javadoc

    1   package sharin.doc.builder.xhtml1;
    2
    3   public class CaptionElem extends GenericCommonElem<CaptionElem> {
    4
    5       public CaptionElem(Object... nodes) {
    6           super("caption", nodes);
    7       }
    8
    9       public CaptionElem align(Object value) {
    10          return attr("align", value);
    11      }
    12
    13      public CaptionElem alignBottom() {
    14          return align("bottom");
    15      }
    16
    17      public CaptionElem alignLeft() {
    18          return align("left");
    19      }
    20
    21      public CaptionElem alignRight() {
    22          return align("right");
    23      }
    24
    25      public CaptionElem alignTop() {
    26          return align("top");
    27      }
    28  }