1 |
| |
2 |
| |
3 |
| package net.sourceforge.pmd.jsp.ast; |
4 |
| |
5 |
| public class ASTJspDirectiveAttribute extends SimpleNode { |
6 |
| |
7 |
| |
8 |
| private String name; |
9 |
| private String value; |
10 |
| |
11 |
| |
12 |
| |
13 |
| |
14 |
14
| public String getName() {
|
15 |
14
| return name;
|
16 |
| } |
17 |
| |
18 |
| |
19 |
| |
20 |
| |
21 |
12
| public void setName(String name) {
|
22 |
12
| this.name = name;
|
23 |
| } |
24 |
| |
25 |
| |
26 |
| |
27 |
| |
28 |
0
| public String toString(String prefix) {
|
29 |
0
| return super.toString(prefix) + " name=[" + name + "] value=[" + value + "]";
|
30 |
| } |
31 |
| |
32 |
| |
33 |
| |
34 |
| |
35 |
12
| public String getValue() {
|
36 |
12
| return value;
|
37 |
| } |
38 |
| |
39 |
| |
40 |
| |
41 |
| |
42 |
12
| public void setValue(String value) {
|
43 |
12
| this.value = value;
|
44 |
| } |
45 |
| |
46 |
| |
47 |
0
| public ASTJspDirectiveAttribute(int id) {
|
48 |
0
| super(id);
|
49 |
| } |
50 |
| |
51 |
12
| public ASTJspDirectiveAttribute(JspParser p, int id) {
|
52 |
12
| super(p, id);
|
53 |
| } |
54 |
| |
55 |
| |
56 |
| |
57 |
| |
58 |
| |
59 |
10
| public Object jjtAccept(JspParserVisitor visitor, Object data) {
|
60 |
10
| return visitor.visit(this, data);
|
61 |
| } |
62 |
| } |