public void setAttribute ( String name , String value ) { if ( value != null ) getElement ( ) . setAttribute ( name , value ) ; else getElement ( ) . removeAttribute ( name ) ; }
Helper method to set the value of an attribute on this Element