Package | Description |
---|---|
org.jsoup.nodes |
HTML document structure nodes.
|
org.jsoup.safety |
Contains the jsoup HTML cleaner, and whitelist definitions.
|
Modifier and Type | Class and Description |
---|---|
class |
BooleanAttribute
A boolean attribute that is written out without any value.
|
Modifier and Type | Field and Description |
---|---|
private Attribute |
Attributes.Dataset.DatasetIterator.attr |
Modifier and Type | Field and Description |
---|---|
private java.util.LinkedHashMap<java.lang.String,Attribute> |
Attributes.attributes |
private java.util.Iterator<Attribute> |
Attributes.Dataset.DatasetIterator.attrIter |
Modifier and Type | Method and Description |
---|---|
Attribute |
Attribute.clone() |
static Attribute |
Attribute.createFromEncoded(java.lang.String unencodedKey,
java.lang.String encodedValue)
Create a new Attribute from an unencoded key and a HTML attribute encoded value.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Attribute> |
Attributes.asList()
Get the attributes as a List, for iteration.
|
java.util.Iterator<Attribute> |
Attributes.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
Attributes.put(Attribute attribute)
Set a new attribute, or replace an existing one by key.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
Whitelist.isSafeAttribute(java.lang.String tagName,
Element el,
Attribute attr)
Test if the supplied attribute is allowed by this whitelist for this tag
|
private boolean |
Whitelist.testValidProtocol(Element el,
Attribute attr,
java.util.Set<Whitelist.Protocol> protocols) |