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

@param name
the name
@param value
the value
@return the string
Adds the attribute with the given name and value .