Package | Description |
---|---|
org.jsoup.nodes |
HTML document structure nodes.
|
org.jsoup.safety |
Contains the jsoup HTML cleaner, and whitelist definitions.
|
Modifier and Type | Class | Description |
---|---|---|
class |
BooleanAttribute |
Deprecated.
just use null values (vs empty string) for booleans.
|
Modifier and Type | Method | Description |
---|---|---|
Attribute |
Attribute.clone() |
|
static Attribute |
Attribute.createFromEncoded(String unencodedKey,
String encodedValue) |
Create a new Attribute from an unencoded key and a HTML attribute encoded value.
|
Modifier and Type | Method | Description |
---|---|---|
List<Attribute> |
Attributes.asList() |
Get the attributes as a List, for iteration.
|
Iterator<Attribute> |
Attributes.iterator() |
Modifier and Type | Method | Description |
---|---|---|
Attributes |
Attributes.put(Attribute attribute) |
Set a new attribute, or replace an existing one by key.
|
Modifier and Type | Method | Description |
---|---|---|
protected boolean |
Whitelist.isSafeAttribute(String tagName,
Element el,
Attribute attr) |
Test if the supplied attribute is allowed by this whitelist for this tag
|
Copyright © 2009–2018 Jonathan Hedley. All rights reserved.