/* Generated By:JJTree: Do not edit this line. ASTJspDirectiveAttribute.java */

package net.sourceforge.pmd.jsp.ast;

public class ASTJspDirectiveAttribute extends SimpleNode {

    /* BEGIN CUSTOM CODE */
    private String name;
    private String value;

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

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

    /* (non-Javadoc)
     * @see com.applicationengineers.pmd4jsp.ast.SimpleNode#toString(java.lang.String)
     */
    public String toString(String prefix) {
        return super.toString(prefix) + " name=[" + name + "] value=[" + value + "]";
    }

    /**
     * @return Returns the value.
     */
    public String getValue() {
        return value;
    }

    /**
     * @param value The value to set.
     */
    public void setValue(String value) {
        this.value = value;
    }
/* END CUSTOM CODE */

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

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


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