Uses of Class
org.jsoup.nodes.Attribute
Packages that use Attribute
Package
Description
HTML document structure nodes.
Contains the jsoup HTML cleaner, and safelist definitions.
-
Uses of Attribute in org.jsoup.nodes
Methods in org.jsoup.nodes that return AttributeModifier and TypeMethodDescription@Nullable AttributeAttributes.attribute(String key) Get an Attribute by key.@Nullable AttributeElement.attribute(String key) Get an Attribute by key.Attribute.clone()static AttributeAttribute.createFromEncoded(String unencodedKey, String encodedValue) Create a new Attribute from an unencoded key and a HTML attribute encoded value.Methods in org.jsoup.nodes that return types with arguments of type AttributeModifier and TypeMethodDescriptionList<Attribute> Attributes.asList()Get the attributes as a List, for iteration.Iterator<Attribute> Attributes.iterator()Methods in org.jsoup.nodes with parameters of type AttributeModifier and TypeMethodDescriptionSet a new attribute, or replace an existing one by key. -
Uses of Attribute in org.jsoup.safety
Methods in org.jsoup.safety with parameters of type AttributeModifier and TypeMethodDescriptionbooleanSafelist.isSafeAttribute(String tagName, Element el, Attribute attr) Test if the supplied attribute is allowed by this safelist for this tag.