Uses of Class
org.jsoup.nodes.Document.OutputSettings
-
Packages that use Document.OutputSettings Package Description org.jsoup Contains the mainJsoupclass, 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 java.lang.StringJsoup. clean(java.lang.String bodyHtml, java.lang.String baseUri, Whitelist whitelist, Document.OutputSettings outputSettings)Get safe HTML from untrusted input HTML, by parsing input HTML and filtering it through a white-list of permitted tags and attributes. -
Uses of Document.OutputSettings in org.jsoup.nodes
Fields in org.jsoup.nodes declared as Document.OutputSettings Modifier and Type Field Description private static Document.OutputSettingsEntities. DefaultOutputprivate Document.OutputSettingsNode.OuterHtmlVisitor. outprivate Document.OutputSettingsDocument. outputSettingsMethods in org.jsoup.nodes that return Document.OutputSettings Modifier and Type Method Description Document.OutputSettingsDocument.OutputSettings. charset(java.lang.String charset)Update the document's output charset.Document.OutputSettingsDocument.OutputSettings. charset(java.nio.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.(package private) static Document.OutputSettingsNodeUtils. outputSettings(Node node)Get the output setting for this node, or if this node has no document (or parent), retrieve the default output settingsDocument.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 (package private) static voidEntities. escape(java.lang.Appendable accum, java.lang.String string, Document.OutputSettings out, boolean inAttribute, boolean normaliseWhite, boolean stripLeadingWhite)static java.lang.StringEntities. escape(java.lang.String string, Document.OutputSettings out)HTML escape an input string.private voidXmlDeclaration. getWholeDeclaration(java.lang.Appendable accum, Document.OutputSettings out)protected voidAttribute. html(java.lang.Appendable accum, Document.OutputSettings out)protected static voidAttribute. html(java.lang.String key, java.lang.String val, java.lang.Appendable accum, Document.OutputSettings out)(package private) voidAttributes. html(java.lang.Appendable accum, Document.OutputSettings out)protected voidNode. indent(java.lang.Appendable accum, int depth, Document.OutputSettings out)private booleanElement. isFormatAsBlock(Document.OutputSettings out)private booleanElement. isInlineable(Document.OutputSettings out)(package private) voidCDataNode. outerHtmlHead(java.lang.Appendable accum, int depth, Document.OutputSettings out)(package private) voidComment. outerHtmlHead(java.lang.Appendable accum, int depth, Document.OutputSettings out)(package private) voidDataNode. outerHtmlHead(java.lang.Appendable accum, int depth, Document.OutputSettings out)(package private) voidDocumentType. outerHtmlHead(java.lang.Appendable accum, int depth, Document.OutputSettings out)(package private) voidElement. outerHtmlHead(java.lang.Appendable accum, int depth, Document.OutputSettings out)(package private) abstract voidNode. outerHtmlHead(java.lang.Appendable accum, int depth, Document.OutputSettings out)Get the outer HTML of this node.(package private) voidPseudoTextElement. outerHtmlHead(java.lang.Appendable accum, int depth, Document.OutputSettings out)(package private) voidTextNode. outerHtmlHead(java.lang.Appendable accum, int depth, Document.OutputSettings out)(package private) voidXmlDeclaration. outerHtmlHead(java.lang.Appendable accum, int depth, Document.OutputSettings out)(package private) voidCDataNode. outerHtmlTail(java.lang.Appendable accum, int depth, Document.OutputSettings out)(package private) voidComment. outerHtmlTail(java.lang.Appendable accum, int depth, Document.OutputSettings out)(package private) voidDataNode. outerHtmlTail(java.lang.Appendable accum, int depth, Document.OutputSettings out)(package private) voidDocumentType. outerHtmlTail(java.lang.Appendable accum, int depth, Document.OutputSettings out)(package private) voidElement. outerHtmlTail(java.lang.Appendable accum, int depth, Document.OutputSettings out)(package private) abstract voidNode. outerHtmlTail(java.lang.Appendable accum, int depth, Document.OutputSettings out)(package private) voidPseudoTextElement. outerHtmlTail(java.lang.Appendable accum, int depth, Document.OutputSettings out)(package private) voidTextNode. outerHtmlTail(java.lang.Appendable accum, int depth, Document.OutputSettings out)(package private) voidXmlDeclaration. outerHtmlTail(java.lang.Appendable accum, int depth, Document.OutputSettings out)DocumentDocument. outputSettings(Document.OutputSettings outputSettings)Set the document's output settings.protected static booleanAttribute. shouldCollapseAttribute(java.lang.String key, java.lang.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 nameConstructors in org.jsoup.nodes with parameters of type Document.OutputSettings Constructor Description OuterHtmlVisitor(java.lang.Appendable accum, Document.OutputSettings out)
-