code: protected final String[] getAttributes(String key) {
          ArrayList<String> array = this._attributes.get(key);
          if (array != null && array.size() > 0) {
              String[] type = new String[array.size()];
              return array.toArray(type);
          }
          return null;
      }
docs: Get the attribute value based on the named value. A string array
  is returned containing all values of the attribute previously set.
  
  @param key The name of a attribute
  @return A list of the attribute values corresponding with the specified key