code: public String addAttribute(final String name, final String value)
  	{
  		if (getAttributes() == null)
  		{
  			this.attributes = MapFactory.newLinkedHashMap();
  		}
  		return getAttributes().put(name, value);
  	}
docs: Adds the attribute with the given name and value.
  
  @param name
  the name
  @param value
  the value
  @return the string