View Javadoc

    1   package sharin.doc.builder;
    2
    3   public class Attr {
    4
    5       private String name;
    6
    7       private Object value;
    8
    9       public Attr(String name, Object value) {
    10          this.name = name;
    11          this.value = value;
    12      }
    13
    14      public String getName() {
    15          return name;
    16      }
    17
    18      public void setName(String name) {
    19          this.name = name;
    20      }
    21
    22      public Object getValue() {
    23          return value;
    24      }
    25
    26      public void setValue(Object value) {
    27          this.value = value;
    28      }
    29  }