code: public <T> T getAttribute(String name, Class<T> type)
    {
      Params.notNullOrEmpty(name, "Attribute name");
      Params.notNull(type, "Attribute type");
      return getAttribute(name, type, null);
    }
docs: Get attribute value converted to requested type or null if there is no attribute with requested name.
  
  @param name attribute name,
  @param type type to converter attribute value to.
  @param <T> type to convert attribute value.
  @return newly created value object or null if named attribute not found.
  @throws IllegalArgumentException if <code>name</code> argument is null or empty.
  @throws IllegalArgumentException if <code>type</code> argument is null.
  @throws ConverterException if there is no converter registered for value type or value parse fails.