Uses of Class
org.jsoup.nodes.Attribute
Package
Description
HTML document structure nodes.
Contains the jsoup HTML cleaner, and safelist definitions.
-
Uses of Attribute in org.jsoup.nodes
Modifier and TypeMethodDescriptionAttributes.attribute
(String key) Get an Attribute by key.Element.attribute
(String key) Get an Attribute by key.Attribute.clone()
static Attribute
Attribute.createFromEncoded
(String unencodedKey, String encodedValue) Create a new Attribute from an unencoded key and a HTML attribute encoded value.Modifier and TypeMethodDescriptionList<Attribute>
Attributes.asList()
Get the attributes as a List, for iteration.Iterator<Attribute>
Attributes.iterator()
Modifier and TypeMethodDescriptionSet a new attribute, or replace an existing one by key. -
Uses of Attribute in org.jsoup.safety
Modifier and TypeMethodDescriptionboolean
Safelist.isSafeAttribute
(String tagName, Element el, Attribute attr) Test if the supplied attribute is allowed by this safelist for this tag.