01 /* Generated By:JJTree: Do not edit this line. ASTJspDirective.java */
02
03 package net.sourceforge.pmd.lang.jsp.ast;
04
05 public class ASTJspDirective extends AbstractJspNode {
06
07 /* BEGIN CUSTOM CODE */
08
09 /**
10 * Name of the element-tag. Cannot be null.
11 */
12 private String name;
13
14 /**
15 * @return Returns the name.
16 */
17 public String getName() {
18 return name;
19 }
20
21 /**
22 * @param name The name to set.
23 */
24 public void setName(String name) {
25 this.name = name;
26 }
27 /* END CUSTOM CODE */
28
29 public ASTJspDirective(int id) {
30 super(id);
31 }
32
33 public ASTJspDirective(JspParser p, int id) {
34 super(p, id);
35 }
36
37
38 /**
39 * Accept the visitor. *
40 */
41 public Object jjtAccept(JspParserVisitor visitor, Object data) {
42 return visitor.visit(this, data);
43 }
44 }
|