public synchronized void disableAllAttributes(){
  enabledAttributes.removeAllElements();
}

public synchronized void disableAllAttributes ( ) { enabledAttributes . removeAllElements ( ) ; }
disables all the attribute names .
