Uses of Class
org.jsoup.nodes.Attributes
Packages that use Attributes
Package
Description
HTML document structure nodes.
Contains the HTML parser, tag specifications, and HTML tokeniser.
Contains the jsoup HTML cleaner, and safelist definitions.
-
Uses of Attributes in org.jsoup.nodes
Methods in org.jsoup.nodes that return AttributesModifier and TypeMethodDescriptionAdds a new attribute.Element.attributes()final AttributesLeafNode.attributes()abstract AttributesNode.attributes()Get each of the Element's attributes.Attributes.clone()Set a new boolean attribute.Set a new attribute, or replace an existing one by key.Set a new attribute, or replace an existing one by key.Set an arbitrary user-data object by key.Methods in org.jsoup.nodes with parameters of type AttributesModifier and TypeMethodDescriptionvoidAttributes.addAll(Attributes incoming) Add all the attributes from the incoming set to this set.static voidNodeInternals.attributeRange(Attributes attributes, String key, org.jsoup.internal.LineMap lineMap, int nameStart, int nameEnd, int valueStart, int valueEnd) Sets parser-tracked source offsets for an attribute.static voidNodeInternals.attributeRange(Attributes attributes, String key, Range.AttributeRange range) Copies an existing tracked attribute range onto another attribute set.Constructors in org.jsoup.nodes with parameters of type AttributesModifierConstructorDescriptionAttribute(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, @Nullable String baseUri, @Nullable Attributes attributes) Create a new, standalone form element. -
Uses of Attributes in org.jsoup.parser
Methods in org.jsoup.parser that return AttributesModifier and TypeMethodDescriptionParser.parseAttributes(String input) Parses attribute names and values without a surrounding tag, using this parser's settings. -
Uses of Attributes in org.jsoup.safety
Methods in org.jsoup.safety that return AttributesModifier and TypeMethodDescriptionSafelist.getEnforcedAttributes(String tagName) Gets the Attributes that should be enforced for a given tag