1 2 3 package net.sourceforge.pmd.jsp.ast; 4 5 public class ASTJspDirectiveAttribute extends SimpleNode { 6 7 8 private String name; 9 private String value; 10 11 14 public String getName() { 15 return name; 16 } 17 18 21 public void setName(String name) { 22 this.name = name; 23 } 24 25 28 public String toString(String prefix) { 29 return super.toString(prefix) + " name=[" + name + "] value=[" + value + "]"; 30 } 31 32 35 public String getValue() { 36 return value; 37 } 38 39 42 public void setValue(String value) { 43 this.value = value; 44 } 45 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 59 public Object jjtAccept(JspParserVisitor visitor, Object data) { 60 return visitor.visit(this, data); 61 } 62 } 63 | Popular Tags |