## Uses of Class
org.jsoup.nodes.Document

Packages that use Document
org.jsoup: Contains the main `Jsoup` class, which provides convenient static access to the jsoup functionality.
org.jsoup.helper: Package containing classes supporting the core jsoup code.
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 safelist 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()` Read and parse the body of the response as a Document.
`static Document` Jsoup.`parse​(java.io.File file, java.lang.String charsetName)` Parse the contents of a file as HTML.
`static Document` Jsoup.`parse​(java.io.File file, java.lang.String charsetName, java.lang.String baseUri)` Parse the contents of a file as HTML.
`static Document` Jsoup.`parse​(java.io.File file, java.lang.String charsetName, java.lang.String baseUri, Parser parser)` Parse the contents of a file as HTML.
`static Document` Jsoup.`parse​(java.io.InputStream in, java.lang.String charsetName, java.lang.String baseUri)` Read an input stream, and parse it to a Document.
`static Document` Jsoup.`parse​(java.io.InputStream in, java.lang.String charsetName, java.lang.String baseUri, Parser parser)` Read an input stream, and parse it to a Document.
`static Document` Jsoup.`parse​(java.lang.String html)` Parse HTML into a Document.
`static Document` Jsoup.`parse​(java.lang.String html, java.lang.String baseUri)` Parse HTML into a Document.
`static Document` Jsoup.`parse​(java.lang.String html, java.lang.String baseUri, Parser parser)` Parse HTML into a Document, using the provided Parser.
`static Document` Jsoup.`parse​(java.lang.String html, Parser parser)` Parse HTML into a Document, using the provided Parser.
`static Document` Jsoup.`parse​(java.net.URL url, int timeoutMillis)` Fetch a URL, and parse it as HTML.
`static Document` Jsoup.`parseBodyFragment​(java.lang.String bodyHtml)` Parse a fragment of HTML, with the assumption that it forms the `body` of the HTML.
`static Document` Jsoup.`parseBodyFragment​(java.lang.String bodyHtml, java.lang.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​(java.io.File file, java.lang.String charsetName, java.lang.String baseUri)` Loads and parses a file to a Document, with the HtmlParser.
`static Document` DataUtil.`load​(java.io.File file, java.lang.String charsetName, java.lang.String baseUri, Parser parser)` Loads and parses a file to a Document.
`static Document` DataUtil.`load​(java.io.InputStream in, java.lang.String charsetName, java.lang.String baseUri)` Parses a Document from an input steam.
`static Document` DataUtil.`load​(java.io.InputStream in, java.lang.String charsetName, java.lang.String baseUri, Parser parser)` Parses a Document from an input steam, using the provided Parser.
`Document` HttpConnection.Response.`parse()`
`Document` HttpConnection.`post()`

Methods in org.jsoup.helper with parameters of type Document
`static org.w3c.dom.Document` W3CDom.`convert​(Document in)` Converts a jsoup DOM to a W3C DOM.
`void` W3CDom.`convert​(Document in, org.w3c.dom.Document out)` Converts a jsoup document into the provided W3C Document.
`org.w3c.dom.Document` W3CDom.`fromJsoup​(Document in)` Convert a jsoup Document to a W3C Document.

### Uses of Document in org.jsoup.nodes

Methods in org.jsoup.nodes that return Document
`Document` Document.`clone()`
`Document` Document.`connection​(Connection connection)` Set the Connection used to fetch this document.
`static Document` Document.`createShell​(java.lang.String baseUri)` Create a valid, empty shell of a document, suitable for adding more elements to.
`Document` Document.`normalise()` Normalise the document.
`Document` Document.`outputSettings​(Document.OutputSettings outputSettings)` Set the document's output settings.
`Document` Node.`ownerDocument()` Gets the Document associated with this Node.
`Document` Document.`parser​(Parser parser)` Set the parser used to create this document.
`Document` Document.`quirksMode​(Document.QuirksMode quirksMode)`

### Uses of Document in org.jsoup.parser

Fields in org.jsoup.parser declared as Document
`protected Document` TreeBuilder.`doc`
`protected Document` TreeBuilder.`doc`

Methods in org.jsoup.parser that return Document
`static Document` Parser.`parse​(java.lang.String html, java.lang.String baseUri)` Parse HTML into a Document.
`static Document` Parser.`parseBodyFragment​(java.lang.String bodyHtml, java.lang.String baseUri)` Parse a fragment of HTML into the `body` of a Document.
`Document` Parser.`parseInput​(java.io.Reader inputHtml, java.lang.String baseUri)`
`Document` Parser.`parseInput​(java.lang.String html, java.lang.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 safelist.

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 safelist.
`boolean` Cleaner.`isValid​(Document dirtyDocument)` Determines if the input document bodyis valid, against the safelist.