Package org.jsoup.nodes
Class BooleanAttribute
- java.lang.Object
-
- org.jsoup.nodes.Attribute
-
- org.jsoup.nodes.BooleanAttribute
-
- All Implemented Interfaces:
java.lang.Cloneable
,java.util.Map.Entry<java.lang.String,java.lang.String>
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(java.lang.String key)
Deprecated.Create a new boolean attribute from unencoded (raw) key.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected boolean
isBooleanAttribute()
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
-
-
-
-
Method Detail
-
isBooleanAttribute
protected boolean isBooleanAttribute()
Deprecated.- Overrides:
isBooleanAttribute
in classAttribute
-
-