code: protected void writeAttribute(OutputStream outputStream, String name, String value) {
          if (value != null) {
              write(outputStream, " " + name + "=\"" + value + "\"");
          }
      }
docs: Write the attribute's name/value pair to the output stream.
  
  @param outputStream The output stream.
  @param name The attribute name.
  @param value The attribute value.