All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jsoup.nodes.BooleanAttribute Maven / Gradle / Ivy

The newest version!
package org.jsoup.nodes;

/**
 * A boolean attribute that is written out without any value.
 * @deprecated just use null values (vs empty string) for booleans.
 */
public class BooleanAttribute extends Attribute {
    /**
     * Create a new boolean attribute from unencoded (raw) key.
     * @param key attribute key
     */
    public BooleanAttribute(String key) {
        super(key, null);
    }

    @Override
    protected boolean isBooleanAttribute() {
        return true;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy