code: public NamingEnumeration attrElements(String attr) throws NamingException {
      Attribute a = findAttr(attr);
  
      if (a == null) {
        return null;
      }
  
      return a.getAll();
    }
docs: Retrieve an enumeration of the named attribute's values.
  The behaviour of this enumeration is unspecified
  if the the attribute's values are added, changed,
  or removed while the enumeration is in progress.
  If the attribute values are ordered, the enumeration's items
  will be ordered.
  
  Each element of the enumeration is a possibly null Object. The object's
  class is the class of the attribute value. The element is null
  if the attribute's value is null.
  If the attribute has zero values, an empty enumeration
  is returned.
  @return A non-null enumeration of the attribute's values.
  @exception javax.naming.NamingException
  If a naming exception was encountered while retrieving
  the values.