code: public void set(String name, Object value) {
          if (value != null) {
              attributes.put(name, String.valueOf(value));
          } else {
              attributes.remove(name);
          }
  
      }
docs: Set an attribute value.
  @param name the attribute name
  @param value the content value, null will remove any existing