@Override public void addAttribute(String name,int value){
  current.setAttribute(name,Integer.toString(value));
}

@ Override public void addAttribute ( String name , int value ) { current . setAttribute ( name , Integer . toString ( value ) ) ; }
adds an attribute to current element of the dom document .
