This method of the ElementImpl class contains the following signatures:
setAttribute(String name, Object value)
setAttribute(Name attrName, Object value)
Sets the attribute of this element.
public void setAttribute(String name, Object value);
Returns the previous value, if any.
name | The attribute name. |
value | The attribute value. |
Sets the attribute of this element.
public void setAttribute(Name attrName, Object value);
attrName | The attribute name. |
value | The attribute value. |