null
the attribute will not be added.
@param name attribute name
@param value attribute value or null
@return this element
@throws IOException in case of problems with the writer
abs
, which is a shortcut to the {@link #absUrl} method.E.g.: String url = a.attr("abs:href");
@param attributeKey The attribute key.
@return The attribute, or empty string if not present (to avoid nulls).
@see #attributes()
@see #hasAttr(String)
@see #absUrl(String)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|