View Javadoc

1   /**
2    * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3    */
4   /* Generated By:JJTree: Do not edit this line. ASTDeclaration.java */
5   
6   package net.sourceforge.pmd.lang.jsp.ast;
7   
8   public class ASTDeclaration extends AbstractJspNode {
9   
10  /* BEGIN CUSTOM CODE */
11      private String name;
12  
13      /**
14       * @return Returns the name.
15       */
16      public String getName() {
17          return name;
18      }
19  
20      /**
21       * @param name The name to set.
22       */
23      public void setName(String name) {
24          this.name = name;
25      }
26  /* END CUSTOM CODE */
27  
28  
29      public ASTDeclaration(int id) {
30          super(id);
31      }
32  
33      public ASTDeclaration(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  }