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