KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > pmd > jsp > ast > ASTJspDirectiveAttribute


1 /* Generated By:JJTree: Do not edit this line. ASTJspDirectiveAttribute.java */
2
3 package net.sourceforge.pmd.jsp.ast;
4
5 public class ASTJspDirectiveAttribute extends SimpleNode {
6
7     /* BEGIN CUSTOM CODE */
8     private String JavaDoc name;
9     private String JavaDoc value;
10
11     /**
12      * @return Returns the name.
13      */

14     public String JavaDoc getName() {
15         return name;
16     }
17
18     /**
19      * @param name The name to set.
20      */

21     public void setName(String JavaDoc 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 JavaDoc toString(String JavaDoc prefix) {
29         return super.toString(prefix) + " name=[" + name + "] value=[" + value + "]";
30     }
31
32     /**
33      * @return Returns the value.
34      */

35     public String JavaDoc getValue() {
36         return value;
37     }
38
39     /**
40      * @param value The value to set.
41      */

42     public void setValue(String JavaDoc value) {
43         this.value = value;
44     }
45 /* END CUSTOM CODE */
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 JavaDoc jjtAccept(JspParserVisitor visitor, Object JavaDoc data) {
60         return visitor.visit(this, data);
61     }
62 }
63
Popular Tags