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 | Method and 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 and Description |
---|---|
List<Attribute> |
Attributes.asList()
Get the attributes as a List, for iteration.
|
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(String tagName,
Element el,
Attribute attr)
Test if the supplied attribute is allowed by this whitelist for this tag
|
Copyright © 2017. All rights reserved.