public synchronized void enableAttribute(String name) throws java.lang.IllegalArgumentException {
  if (name == null) {
    throw new java.lang.IllegalArgumentException("The name cannot be null.");
  }
  if (!enabledAttributes.contains(name)) {
    enabledAttributes.addElement(name);
  }
}

public synchronized void enableAttribute ( String name ) throws java . lang . IllegalArgumentException { if ( name == null ) { throw new java . lang . IllegalArgumentException ( "The name cannot be null." ) ; } if ( ! enabledAttributes . contains ( name ) ) { enabledAttributes . addElement ( name ) ; } }
enables all the attribute change notifications the attribute name of which equals the specified name to be sent to the listener . < br > if the specified name is already in the list of enabled attribute names , this method has no effect .
