# Deprecated API

## Contents

- Classes
- Methods
- Constructors

Classes

org.jsoup.safety.Whitelist

As of release `v1.14.1`, this class is deprecated in favour of `Safelist`. The name has been changed with the intent of promoting more inclusive language. `Safelist` is a drop-in replacement, and no further changes other than updating the name in your code are required to cleanly migrate. This class will be removed in `v1.15.1`. Until that release, this class acts as a shim to maintain code compatibility (source and binary).

For a clear rationale of the removal of this change, please see Terminology, Power, and Inclusive Language in Internet-Drafts and RFCs

Methods
org.jsoup.Jsoup.clean​(String, String, Whitelist): as of 1.14.1.
org.jsoup.Jsoup.isValid​(String, Whitelist): as of 1.14.1.
org.jsoup.nodes.DataNode.createFromEncoded​(String, String): Unused, and will be removed in 1.15.1.
org.jsoup.parser.TokenQueue.addFirst​(Character): unused and will be removed in 1.15.x
org.jsoup.parser.TokenQueue.consumeAttributeKey(): unused and will be removed in 1.15.x
org.jsoup.parser.TokenQueue.consumeTagName(): unused and will be removed in 1.15.x
org.jsoup.parser.TokenQueue.matchesCS​(String): unused and will be removed in 1.15.x
org.jsoup.parser.TokenQueue.matchesStartTag(): unused and will be removed in 1.15.x
org.jsoup.parser.TokenQueue.peek(): unused and will be removed in 1.15.x

Constructors
org.jsoup.safety.Cleaner​(Whitelist): as of 1.14.1.