View Javadoc

    1   package sharin.doc.builder.xhtml1;
    2
    3   import sharin.doc.builder.Elem;
    4   import sharin.doc.builder.GenericXmlElem;
    5
    6   public class GenericI18nElem<E extends Elem> extends GenericXmlElem<E> {
    7
    8       public GenericI18nElem(String name, Object... nodes) {
    9           super(name, nodes);
    10      }
    11
    12      public E lang(String value) {
    13          return attr("lang", value);
    14      }
    15
    16      /**
    17       * xml:lang
    18       */
    19      public E xmllang(String value) {
    20          return attr("xml:lang", value);
    21      }
    22
    23      public E dir(String value) {
    24          return attr("dir", value);
    25      }
    26  }