code: public final T setAttributeValueAsInteger(String name, int value) {
      setAttribute(name, Integer.toString(value));
      return (T)this;
    }
docs: Sets attribute value as integer.
  @param name Attribute name
  @param value Attribute value as integer
  @return Self reference