code: public void setAttribute(String name, String value)
  	{
  		if (value != null)
  			getElement().setAttribute(name, value);
  		else
  			getElement().removeAttribute(name);
  	}
docs: Helper method to set the value of an attribute on this Element
  
  @param name
  the attribute name
  @param value
  the value to set - if null the attribute is removed