Uses of Class
org.jsoup.nodes.Attributes
Package
Description
HTML document structure nodes.
Contains the jsoup HTML cleaner, and safelist definitions.
-
Uses of Attributes in org.jsoup.nodes
Modifier and TypeMethodDescriptionAttributes.add
(String key, @Nullable String value) Adds a new attribute.Element.attributes()
final Attributes
LeafNode.attributes()
abstract Attributes
Node.attributes()
Get each of the Element's attributes.Attributes.clone()
Attributes.put
(String key, boolean value) Set a new boolean attribute.Attributes.put
(String key, @Nullable String value) Set a new attribute, or replace an existing one by key.Set a new attribute, or replace an existing one by key.Attributes.userData
(String key, Object value) Set an arbitrary user-data object by key.Modifier and TypeMethodDescriptionvoid
Attributes.addAll
(Attributes incoming) Add all the attributes from the incoming set to this set.ModifierConstructorDescriptionAttribute
(String key, @Nullable String val, @Nullable Attributes parent) Create a new attribute from unencoded (raw) key and value.Element
(Tag tag, @Nullable String baseUri, @Nullable Attributes attributes) Create a new, standalone Element.FormElement
(Tag tag, String baseUri, Attributes attributes) Create a new, standalone form element.PseudoTextElement
(Tag tag, String baseUri, Attributes attributes) -
Uses of Attributes in org.jsoup.safety
Modifier and TypeMethodDescriptionSafelist.getEnforcedAttributes
(String tagName) Gets the Attributes that should be enforced for a given tag