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. ASTDoctypeDeclaration.java */
5
6 package net.sourceforge.pmd.lang.jsp.ast;
7
8 public class ASTDoctypeDeclaration extends AbstractJspNode {
9
10 /* BEGIN CUSTOM CODE */
11
12 /**
13 * Name of the document type. Cannot be null.
14 */
15 private String name;
16
17 /**
18 * @return Returns the name.
19 */
20 public String getName() {
21 return name;
22 }
23
24 /**
25 * @param name The name to set.
26 */
27 public void setName(String name) {
28 this.name = name;
29 }
30 /* END CUSTOM CODE */
31
32 public ASTDoctypeDeclaration(int id) {
33 super(id);
34 }
35
36 public ASTDoctypeDeclaration(JspParser p, int id) {
37 super(p, id);
38 }
39
40
41 /**
42 * Accept the visitor. *
43 */
44 public Object jjtAccept(JspParserVisitor visitor, Object data) {
45 return visitor.visit(this, data);
46 }
47 }