1 | public class DocletParam {↵ | | 1 | public class ↵
|
2 | /** The parameter name */↵ | | |
|
3 | private String name;↵ | | |
|
|
4 | /** The parameter value */↵ | | |
|
5 | ↵ | | 2 | Header {↵
|
| | | 3 | private String name;↵
|
6 | private String value;↵ | | 4 | private String value;↵
|
|
7 | /**↵ | | 5 | /**↵
|
8 | * Set the name of the parameter.↵ | | 6 | * Set the name of th↵
|
9 | *↵ | | |
|
10 | ↵ | | 7 | is Header.↵
|
11 | * @param name the name of the doclet parameter↵ | | 8 | * @param name the name ↵
|
12 | ↵ | | 9 | to set.↵
|
13 | */↵ | | 10 | */↵
|
14 | public void setName(String name) {↵ | | 11 | public void setName(String name) {↵
|
15 | this.name = name;↵ | | 12 | this.name = name;↵
|
16 | }↵ | | 13 | }↵
|
|
17 | /**↵ | | 14 | /**↵
|
18 | * Get the parameter name.↵ | | 15 | * Get the ↵
|
19 | *↵ | | |
|
20 | ↵ | | 16 | name of this Header.↵
|
21 | * @return the parameter's name.↵ | | 17 | * @return ↵
|
22 | ↵ | | 18 | name as String.↵
|
23 | */↵ | | 19 | */↵
|
24 | public String getName() {↵ | | 20 | public String getName() {↵
|
25 | return name;↵ | | 21 | return name;↵
|
26 | }↵ | | 22 | ↵
|
|
27 | ↵ | | 23 | }↵
|
|
28 | /**↵ | | 24 | /**↵
|
29 | * Set the parameter value.↵ | | 25 | * Set the ↵
|
30 | *↵ | | |
|
31 | * Note that only string values are supported. No resolution of file↵ | | |
|
32 | * paths is performed.↵ | | |
|
33 | *↵ | | |
|
34 | ↵ | | 26 | value of this Header.↵
|
35 | * @param value the parameter value.↵ | | 27 | * @param value the ↵
|
36 | ↵ | | 28 | value to set.↵
|
37 | */↵ | | 29 | */↵
|
38 | public void setValue(String value) {↵ | | 30 | public void setValue(String value) {↵
|
39 | this.value = value;↵ | | 31 | this.value = value;↵
|
40 | }↵ | | 32 | }↵
|
|
41 | /**↵ | | 33 | /**↵
|
42 | * Get the parameter value.↵ | | 34 | * Get the ↵
|
43 | *↵ | | |
|
44 | * @return the parameter value↵ | | 35 | value of this Header.↵
|
45 | .↵ | | 36 | * @return value as String.↵
|
46 | */↵ | | 37 | ↵
|
47 | ↵ | | 38 | */↵
|
48 | public String getValue() {↵ | | 39 | public String getValue() {↵
|
49 | return value;↵ | | 40 | return value;↵
|
50 | | | 41 |
|