Package org.jsoup.nodes
Class BooleanAttribute
java.lang.Object
org.jsoup.nodes.Attribute
org.jsoup.nodes.BooleanAttribute
public class BooleanAttribute extends Attribute
Deprecated.
just use null values (vs empty string) for booleans.
A boolean attribute that is written out without any value.
-
Constructor Summary
Constructors Constructor Description BooleanAttribute(String key)Deprecated.Create a new boolean attribute from unencoded (raw) key. -
Method Summary
Modifier and Type Method Description protected booleanisBooleanAttribute()Deprecated.Methods inherited from class org.jsoup.nodes.Attribute
clone, createFromEncoded, equals, getKey, getValue, hashCode, html, html, html, isBooleanAttribute, isDataAttribute, isDataAttribute, setKey, setValue, shouldCollapseAttribute, shouldCollapseAttribute, toString
-
Constructor Details
-
BooleanAttribute
Deprecated.Create a new boolean attribute from unencoded (raw) key.- Parameters:
key- attribute key
-
-
Method Details
-
isBooleanAttribute
protected boolean isBooleanAttribute()Deprecated.- Overrides:
isBooleanAttributein classAttribute
-