Uses of Class
org.jsoup.nodes.Attribute
Packages that use Attribute
Package
Description
HTML document structure nodes.
Contains the jsoup HTML cleaner, and whitelist definitions.
-
Uses of Attribute in org.jsoup.nodes
Fields in org.jsoup.nodes declared as AttributeFields in org.jsoup.nodes with type parameters of type AttributeMethods in org.jsoup.nodes that return AttributeModifier and TypeMethodDescriptionAttribute.clone()
static Attribute
Attribute.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 TypeMethodDescriptionAttributes.asList()
Get the attributes as a List, for iteration.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 TypeMethodDescriptionprotected boolean
Whitelist.isSafeAttribute
(String tagName, Element el, Attribute attr) Test if the supplied attribute is allowed by this whitelist for this tagprivate boolean
Whitelist.testValidProtocol
(Element el, Attribute attr, Set<Whitelist.Protocol> protocols)