1 | public static class DnameParam {↵ | | 1 | public ↵
|
2 | ↵ | | 2 | class Header {↵
|
3 | private String name;↵ | | 3 | private String name;↵
|
4 | private String value;↵ | | 4 | private String value;↵
|
|
5 | /**↵ | | 5 | /**↵
|
6 | * Set the name attribute.↵ | | 6 | * Set the name ↵
|
7 | ↵ | | 7 | of this Header.↵
|
8 | * @param name a <code>String</code> value↵ | | 8 | * @param name ↵
|
9 | ↵ | | 9 | the name to set.↵
|
10 | */↵ | | 10 | */↵
|
11 | public void setName(String name) {↵ | | 11 | public void setName(String name) {↵
|
12 | this.name = name;↵ | | 12 | this.name = name;↵
|
13 | }↵ | | 13 | }↵
|
|
14 | /**↵ | | 14 | /**↵
|
15 | * Get the name attribute.↵ | | 15 | * Get the name of this Header.↵
|
16 | * @return the name.↵ | | 16 | * @return ↵
|
17 | ↵ | | 17 | name as String.↵
|
18 | */↵ | | 18 | */↵
|
19 | public String getName() {↵ | | 19 | public String getName() {↵
|
20 | return name;↵ | | 20 | return name;↵
|
21 | }↵ | | 21 | }↵
|
|
22 | /**↵ | | 22 | /**↵
|
23 | * Set the value attribute.↵ | | 23 | * Set the value of this Header.↵
|
24 | * @param value a <code>String</code> value↵ | | 24 | * @param value ↵
|
25 | ↵ | | 25 | the value to set.↵
|
26 | */↵ | | 26 | */↵
|
27 | public void setValue(String value) {↵ | | 27 | public void setValue(String value) {↵
|
28 | this.value = value;↵ | | 28 | this.value = value;↵
|
29 | }↵ | | 29 | }↵
|
|
30 | /**↵ | | 30 | /**↵
|
31 | * Get the value attribute.↵ | | 31 | * Get the value ↵
|
32 | ↵ | | 32 | of this Header.↵
|
33 | * @return the value.↵ | | 33 | * @return value as String.↵
|
34 | */↵ | | 34 | */↵
|
35 | public String getValue() {↵ | | 35 | public String getValue() {↵
|
36 | return value;↵ | | 36 | return value;↵
|
37 | | | 37 |
|