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. ASTJspDirectiveAttribute.java */
5   
6   package net.sourceforge.pmd.lang.jsp.ast;
7   
8   public class ASTJspDirectiveAttribute extends AbstractJspNode {
9   
10      /* BEGIN CUSTOM CODE */
11      private String name;
12      private String value;
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  
28      /**
29       * @return Returns the value.
30       */
31      public String getValue() {
32          return value;
33      }
34  
35      /**
36       * @param value The value to set.
37       */
38      public void setValue(String value) {
39          this.value = value;
40      }
41  /* END CUSTOM CODE */
42  
43      public ASTJspDirectiveAttribute(int id) {
44          super(id);
45      }
46  
47      public ASTJspDirectiveAttribute(JspParser p, int id) {
48          super(p, id);
49      }
50  
51  
52      /**
53       * Accept the visitor. *
54       */
55      public Object jjtAccept(JspParserVisitor visitor, Object data) {
56          return visitor.visit(this, data);
57      }
58  }