public void addAttribute ( String name , String value ) { if ( attributes == null ) attributes = new HashMap < String , String > ( ) ; attributes . put ( name , value ) ; }
Add an attribute to this node replacing any existing attribute with the same name .