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 * @return Returns the name.
13 */
14 public String getName() {
15 return name;
16 }
17
18 /***
19 * @param name The name to set.
20 */
21 public void setName(String name) {
22 this.name = name;
23 }
24
25
26
27
28 public String toString(String prefix) {
29 return super.toString(prefix) + " name=[" + name + "] value=[" + value + "]";
30 }
31
32 /***
33 * @return Returns the value.
34 */
35 public String getValue() {
36 return value;
37 }
38
39 /***
40 * @param value The value to set.
41 */
42 public void setValue(String value) {
43 this.value = value;
44 }
45
46
47 public ASTJspDirectiveAttribute(int id) {
48 super(id);
49 }
50
51 public ASTJspDirectiveAttribute(JspParser p, int id) {
52 super(p, id);
53 }
54
55
56 /***
57 * Accept the visitor. *
58 */
59 public Object jjtAccept(JspParserVisitor visitor, Object data) {
60 return visitor.visit(this, data);
61 }
62 }