Uses of Class
net.htmlparser.jericho.SourceFormatter
Packages that use SourceFormatter
-
Uses of SourceFormatter in net.htmlparser.jericho
Methods in net.htmlparser.jericho that return SourceFormatterModifier and TypeMethodDescriptionSource.getSourceFormatter()
Formats the HTML source by laying out each non-inline-level element on a new line with an appropriate indent.SourceFormatter.setCollapseWhiteSpace
(boolean collapseWhiteSpace) Sets whether white space in the text between the tags is to be collapsed.SourceFormatter.setIndentAllElements
(boolean indentAllElements) Sets whether all elements are to be indented, including inline-level elements and those with preformatted contents.SourceFormatter.setIndentString
(String indentString) Sets the string to be used for indentation.SourceFormatter.setNewLine
(String newLine) Sets the string to be used to represent a newline in the output.SourceFormatter.setTidyTags
(boolean tidyTags) Sets whether the original text of each tag is to be replaced with the output from itsTag.tidy()
method.