Package | Description |
---|---|
org.jsoup.nodes |
HTML document structure nodes.
|
org.jsoup.parser |
Contains the HTML parser, tag specifications, and HTML tokeniser.
|
org.jsoup.safety |
Contains the jsoup HTML cleaner, and whitelist definitions.
|
Modifier and Type | Field and Description |
---|---|
private Attributes |
Attributes.Dataset.attributes |
private Attributes |
Element.attributes |
(package private) Attributes |
Attribute.parent |
Modifier and Type | Method and Description |
---|---|
Attributes |
LeafNode.attributes() |
abstract Attributes |
Node.attributes()
Get all of the element's attributes.
|
Attributes |
Element.attributes() |
Attributes |
Attributes.clone() |
Attributes |
Attributes.put(Attribute attribute)
Set a new attribute, or replace an existing one by key.
|
Attributes |
Attributes.put(java.lang.String key,
boolean value)
Set a new boolean attribute, remove attribute if value is false.
|
Attributes |
Attributes.put(java.lang.String key,
java.lang.String value)
Set a new attribute, or replace an existing one by key.
|
Modifier and Type | Method and Description |
---|---|
void |
Attributes.addAll(Attributes incoming)
Add all the attributes from the incoming set to this set.
|
Constructor and Description |
---|
Attribute(java.lang.String key,
java.lang.String val,
Attributes parent)
Create a new attribute from unencoded (raw) key and value.
|
Dataset(Attributes attributes) |
Element(Tag tag,
java.lang.String baseUri,
Attributes attributes)
Create a new, standalone Element.
|
FormElement(Tag tag,
java.lang.String baseUri,
Attributes attributes)
Create a new, standalone form element.
|
PseudoTextElement(Tag tag,
java.lang.String baseUri,
Attributes attributes) |
Modifier and Type | Field and Description |
---|---|
(package private) Attributes |
Token.Tag.attributes |
Modifier and Type | Method and Description |
---|---|
(package private) Attributes |
Token.Tag.getAttributes() |
(package private) Attributes |
ParseSettings.normalizeAttributes(Attributes attributes) |
Modifier and Type | Method and Description |
---|---|
(package private) Token.StartTag |
Token.StartTag.nameAttr(java.lang.String name,
Attributes attributes) |
(package private) Attributes |
ParseSettings.normalizeAttributes(Attributes attributes) |
boolean |
TreeBuilder.processStartTag(java.lang.String name,
Attributes attrs) |
Modifier and Type | Method and Description |
---|---|
(package private) Attributes |
Whitelist.getEnforcedAttributes(java.lang.String tagName) |