public Element setAttributes(@Nullable Collection<? extends Attribute> newAttributes) {
    getAttributeList().clearAndSet(newAttributes);
    return this;
  }
public Element setAttributes(@Nullable Collection<? extends Attribute> newAttributes)