bundles/org.apache.jasper.glassfish/src/org/apache/jasper/xmlparser/TreeNode.java
public void addAttribute(String name, String value) {

        if (attributes == null)
            attributes = new HashMap<String, String>();
        attributes.put(name, value);

    }
public void addAttribute(String name, String value) {

        if (attributes == null)
            attributes = new HashMap<String, String>();
        attributes.put(name, value);

    }
Add an attribute to this node, replacing any existing attribute
with the same name.

@param name The attribute name to add
@param value The new attribute value