@@ -17,14 +17,10 @@ public class ASTDoctypeExternalId extends AbstractJspNode {
      */
     private String publicId;
 
-    public ASTDoctypeExternalId(int id) {
+    ASTDoctypeExternalId(int id) {
         super(id);
     }
 
-    public ASTDoctypeExternalId(JspParser p, int id) {
-        super(p, id);
-    }
-
     public boolean isHasPublicId() {
         return null != publicId;
     }
/**
 * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
 */
/* Generated By:JJTree: Do not edit this line. ASTDoctypeExternalId.java */

package net.sourceforge.pmd.lang.jsp.ast;

public class ASTDoctypeExternalId extends AbstractJspNode {

    /**
     * URI of the external entity. Cannot be null.
     */
    private String uri;

    /**
     * Public ID of the external entity. This is optional.
     */
    private String publicId;

    public ASTDoctypeExternalId(int id) {
        super(id);
    }

    public ASTDoctypeExternalId(JspParser p, int id) {
        super(p, id);
    }

    public boolean isHasPublicId() {
        return null != publicId;
    }

    /**
     * @return Returns the name.
     */
    public String getUri() {
        return uri;
    }

    /**
     * @param name
     *            The name to set.
     */
    public void setUri(String name) {
        this.uri = name;
    }

    /**
     * @return Returns the publicId (or an empty string if there is none for
     *         this external entity id).
     */
    public String getPublicId() {
        return null == publicId ? "" : publicId;
    }

    /**
     * @param publicId
     *            The publicId to set.
     */
    public void setPublicId(String publicId) {
        this.publicId = publicId;
    }

    /**
     * Accept the visitor. *
     */
    @Override
    public Object jjtAccept(JspParserVisitor visitor, Object data) {
        return visitor.visit(this, data);
    }
}

`setUri()` and `setPublicId()` can be package-private