View Javadoc

    1   package sharin.doc.builder.xhtml1;
    2
    3   import sharin.doc.builder.GenericXmlElem;
    4
    5   public class ParamElem extends GenericXmlElem<ParamElem> {
    6
    7       public ParamElem(Object... nodes) {
    8           super("param", nodes);
    9       }
    10
    11      public ParamElem id(Object value) {
    12          return attr("id", value);
    13      }
    14
    15      public ParamElem name(Object value) {
    16          return attr("name", value);
    17      }
    18
    19      public ParamElem type(Object value) {
    20          return attr("type", value);
    21      }
    22
    23      public ParamElem value(Object value) {
    24          return attr("value", value);
    25      }
    26
    27      public ParamElem valuetype(Object value) {
    28          return attr("valuetype", value);
    29      }
    30
    31      public ParamElem valuetypeData() {
    32          return valuetype("data");
    33      }
    34
    35      public ParamElem valuetypeObject() {
    36          return valuetype("object");
    37      }
    38
    39      public ParamElem valuetypeRef() {
    40          return valuetype("ref");
    41      }
    42  }