01: /* Generated By:JJTree: Do not edit this line. ASTJspDirectiveAttribute.java */
02:
03: package net.sourceforge.pmd.jsp.ast;
04:
05: public class ASTJspDirectiveAttribute extends SimpleNode {
06:
07: /* BEGIN CUSTOM CODE */
08: private String name;
09: 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: /* (non-Javadoc)
26: * @see com.applicationengineers.pmd4jsp.ast.SimpleNode#toString(java.lang.String)
27: */
28: public String toString(String prefix) {
29: return super .toString(prefix) + " name=[" + name + "] value=["
30: + value + "]";
31: }
32:
33: /**
34: * @return Returns the value.
35: */
36: public String getValue() {
37: return value;
38: }
39:
40: /**
41: * @param value The value to set.
42: */
43: public void setValue(String value) {
44: this .value = value;
45: }
46:
47: /* END CUSTOM CODE */
48:
49: public ASTJspDirectiveAttribute(int id) {
50: super (id);
51: }
52:
53: public ASTJspDirectiveAttribute(JspParser p, int id) {
54: super (p, id);
55: }
56:
57: /**
58: * Accept the visitor. *
59: */
60: public Object jjtAccept(JspParserVisitor visitor, Object data) {
61: return visitor.visit(this, data);
62: }
63: }
|