/** * Appends attribute to started element. If the attribute value is blank, the builder does * nothing. * * <p>Ex: class="foo" * * <p> * * @param name The name of attribute to append. * @param value The value of attribute to append. * @return a reference to this builder. */ public MarkupBuilder appendAttribute(String name, String value) { buffer.append(MarkupUtils.appendAttribute(name, value)); return this; }