This method of the Element interface contains the following signatures:
setAttribute(String name, Object value)
setAttribute(Name name, Object value)
Sets the attribute of this element.
public void setAttribute(String name, Object value);
name | The attribute name. |
value | The attribute value. |
Sets the attribute of this element.
public void setAttribute(Name name, Object value);
name | The attribute name. |
value | The attribute value. |