1 2 3 package net.sourceforge.pmd.jsp.ast; 4 5 public class ASTDoctypeDeclaration extends SimpleNode { 6 7 8 9 12 private String name; 13 14 17 public String getName() { 18 return name; 19 } 20 21 24 public void setName(String name) { 25 this.name = name; 26 } 27 28 31 public String toString(String prefix) { 32 return super.toString(prefix) + " name=[" + name + "] "; 33 } 34 35 36 public ASTDoctypeDeclaration(int id) { 37 super(id); 38 } 39 40 public ASTDoctypeDeclaration(JspParser p, int id) { 41 super(p, id); 42 } 43 44 45 48 public Object jjtAccept(JspParserVisitor visitor, Object data) { 49 return visitor.visit(this, data); 50 } 51 } 52 | Popular Tags |