Package | Description |
---|---|
org.jsoup.nodes |
HTML document structure nodes.
|
org.jsoup.safety |
Contains the jsoup HTML cleaner, and safelist definitions.
|
Modifier and Type | Field and Description |
---|---|
private Attribute |
Attributes.Dataset.DatasetIterator.attr |
Modifier and Type | Field and Description |
---|---|
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 |
---|---|
Attributes |
Attributes.put(Attribute attribute)
Set a new attribute, or replace an existing one by key.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
Safelist.isSafeAttribute(java.lang.String tagName,
Element el,
Attribute attr)
Test if the supplied attribute is allowed by this safelist for this tag
|
private boolean |
Safelist.testValidProtocol(Element el,
Attribute attr,
java.util.Set<Safelist.Protocol> protocols) |