|
||||||||||
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.helper | |
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 HTML cleaner, and whitelist definitions. |
Uses of Document in org.jsoup |
---|
Methods in org.jsoup that return Document | |
---|---|
Document |
Connection.get()
Execute the request as a GET, and parse the result. |
Document |
Connection.Response.parse()
Parse the body of the response as a 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(InputStream in,
String charsetName,
String baseUri)
Read an input stream, and parse it to a Document. |
static Document |
Jsoup.parse(InputStream in,
String charsetName,
String baseUri,
Parser parser)
Read an input stream, and parse it to a Document. |
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(String html,
String baseUri,
Parser parser)
Parse HTML into a Document, using the provided Parser. |
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. |
Document |
Connection.post()
Execute the request as a POST, and parse the result. |
Uses of Document in org.jsoup.helper |
---|
Methods in org.jsoup.helper that return Document | |
---|---|
Document |
HttpConnection.get()
|
static Document |
DataUtil.load(File in,
String charsetName,
String baseUri)
Loads a file to a Document. |
static Document |
DataUtil.load(InputStream in,
String charsetName,
String baseUri)
Parses a Document from an input steam. |
static Document |
DataUtil.load(InputStream in,
String charsetName,
String baseUri,
Parser parser)
Parses a Document from an input steam, using the provided Parser. |
Document |
HttpConnection.Response.parse()
|
Document |
HttpConnection.post()
|
Uses of Document in org.jsoup.nodes |
---|
Methods in org.jsoup.nodes that return Document | |
---|---|
Document |
Document.clone()
|
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. |
Document |
Node.ownerDocument()
Gets the Document associated with this Node. |
Document |
Document.quirksMode(Document.QuirksMode quirksMode)
|
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. |
static Document |
Parser.parseBodyFragmentRelaxed(String bodyHtml,
String baseUri)
Deprecated. Use Parser.parseBodyFragment(java.lang.String, java.lang.String) or Parser.parseFragment(java.lang.String, org.jsoup.nodes.Element, java.lang.String) instead. |
Document |
Parser.parseInput(String html,
String baseUri)
|
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)
Determines if the input document is valid, against the whitelist. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |