Uses of Class
org.jsoup.nodes.Document.OutputSettings
| Package | Description |
|---|---|
| org.jsoup |
Contains the main
Jsoup class, which provides convenient static access to the jsoup functionality. |
| org.jsoup.nodes |
HTML document structure nodes.
|
-
Uses of Document.OutputSettings in org.jsoup
Methods in org.jsoup with parameters of type Document.OutputSettings Modifier and Type Method Description static StringJsoup. clean(String bodyHtml, String baseUri, Safelist safelist, Document.OutputSettings outputSettings)Get safe HTML from untrusted input HTML, by parsing input HTML and filtering it through a safe-list of permitted tags and attributes.static StringJsoup. clean(String bodyHtml, String baseUri, Whitelist safelist, Document.OutputSettings outputSettings)Deprecated.as of 1.14.1. -
Uses of Document.OutputSettings in org.jsoup.nodes
Methods in org.jsoup.nodes that return Document.OutputSettings Modifier and Type Method Description Document.OutputSettingsDocument.OutputSettings. charset(String charset)Update the document's output charset.Document.OutputSettingsDocument.OutputSettings. charset(Charset charset)Update the document's output charset.Document.OutputSettingsDocument.OutputSettings. clone()Document.OutputSettingsDocument.OutputSettings. escapeMode(Entities.EscapeMode escapeMode)Set the document's escape mode, which determines how characters are escaped when the output character set does not support a given character:- using either a named or a numbered escape.Document.OutputSettingsDocument.OutputSettings. indentAmount(int indentAmount)Set the indent amount for pretty printingDocument.OutputSettingsDocument.OutputSettings. outline(boolean outlineMode)Enable or disable HTML outline mode.Document.OutputSettingsDocument. outputSettings()Get the document's current output settings.Document.OutputSettingsDocument.OutputSettings. prettyPrint(boolean pretty)Enable or disable pretty printing.Document.OutputSettingsDocument.OutputSettings. syntax(Document.OutputSettings.Syntax syntax)Set the document's output syntax.Methods in org.jsoup.nodes with parameters of type Document.OutputSettings Modifier and Type Method Description static StringEntities. escape(String string, Document.OutputSettings out)HTML escape an input string.protected voidAttribute. html(Appendable accum, Document.OutputSettings out)protected static voidAttribute. html(String key, String val, Appendable accum, Document.OutputSettings out)protected voidNode. indent(Appendable accum, int depth, Document.OutputSettings out)DocumentDocument. outputSettings(Document.OutputSettings outputSettings)Set the document's output settings.protected static booleanAttribute. shouldCollapseAttribute(String key, String val, Document.OutputSettings out)protected booleanAttribute. shouldCollapseAttribute(Document.OutputSettings out)Collapsible if it's a boolean attribute and value is empty or same as name