|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Document | |
|---|---|
| org.jsoup | Contains the main Jsoup class, which provides convenient static access to the jsoup functionality. |
| org.jsoup.nodes | HTML document structure nodes. |
| org.jsoup.parser | Contains the HTML parser, tag specifications, and HTML tokeniser. |
| org.jsoup.safety | Contains the jsoup HMTL cleaner, and whitelist definitions. |
| Uses of Document in org.jsoup |
|---|
| Methods in org.jsoup that return Document | |
|---|---|
static Document |
Jsoup.parse(File in,
String charsetName)
Parse the contents of a file as HTML. |
static Document |
Jsoup.parse(File in,
String charsetName,
String baseUri)
Parse the contents of a file as HTML. |
static Document |
Jsoup.parse(String html)
Parse HTML into a Document. |
static Document |
Jsoup.parse(String html,
String baseUri)
Parse HTML into a Document. |
static Document |
Jsoup.parse(URL url,
int timeoutMillis)
Fetch a URL, and parse it as HTML. |
static Document |
Jsoup.parseBodyFragment(String bodyHtml)
Parse a fragment of HTML, with the assumption that it forms the body of the HTML. |
static Document |
Jsoup.parseBodyFragment(String bodyHtml,
String baseUri)
Parse a fragment of HTML, with the assumption that it forms the body of the HTML. |
| Uses of Document in org.jsoup.nodes |
|---|
| Methods in org.jsoup.nodes that return Document | |
|---|---|
static Document |
Document.createShell(String baseUri)
Create a valid, empty shell of a document, suitable for adding more elements to. |
Document |
Document.normalise()
Normalise the document. |
| Uses of Document in org.jsoup.parser |
|---|
| Methods in org.jsoup.parser that return Document | |
|---|---|
static Document |
Parser.parse(String html,
String baseUri)
Parse HTML into a Document. |
static Document |
Parser.parseBodyFragment(String bodyHtml,
String baseUri)
Parse a fragment of HTML into the body of a Document. |
| Uses of Document in org.jsoup.safety |
|---|
| Methods in org.jsoup.safety that return Document | |
|---|---|
Document |
Cleaner.clean(Document dirtyDocument)
Creates a new, clean document, from the original dirty document, containing only elements allowed by the whitelist. |
| Methods in org.jsoup.safety with parameters of type Document | |
|---|---|
Document |
Cleaner.clean(Document dirtyDocument)
Creates a new, clean document, from the original dirty document, containing only elements allowed by the whitelist. |
boolean |
Cleaner.isValid(Document dirtyDocument)
Dertmines if the input document is valid, against the whitelist. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||