Modifier and Type | Method and Description |
---|---|
Renderer |
Segment.getRenderer()
Performs a simple rendering of the HTML markup in this segment into text.
|
Renderer |
Renderer.setBlockIndentSize(int blockIndentSize)
Sets the size of the indent to be used for anything other than
LI elements. |
Renderer |
Renderer.setConvertNonBreakingSpaces(boolean convertNonBreakingSpaces)
Sets whether non-breaking space (
) character entity references are converted to spaces. |
Renderer |
Renderer.setDecorateFontStyles(boolean decorateFontStyles)
Sets whether decoration characters are to be included around the content of some
font style elements and
phrase elements.
|
Renderer |
Renderer.setHRLineLength(int hrLineLength)
Sets the length of a horizontal line.
|
Renderer |
Renderer.setIncludeAlternateText(boolean includeAlternateText)
Sets whether the alternate text of a tag that has an
alt attribute is included in the output. |
Renderer |
Renderer.setIncludeFirstElementTopMargin(boolean includeFirstElementTopMargin)
Sets whether the top margin of the first element is rendered.
|
Renderer |
Renderer.setIncludeHyperlinkURLs(boolean includeHyperlinkURLs)
Sets whether hyperlink URLs are included in the output.
|
Renderer |
Renderer.setListBullets(char[] listBullets)
Sets the bullet characters to use for list items inside
UL elements. |
Renderer |
Renderer.setListIndentSize(int listIndentSize)
Sets the size of the indent to be used for
LI elements. |
Renderer |
Renderer.setMaxLineLength(int maxLineLength)
Sets the column at which lines are to be wrapped.
|
Renderer |
Renderer.setNewLine(java.lang.String newLine)
Sets the string to be used to represent a newline in the output.
|
Renderer |
Renderer.setTableCellSeparator(java.lang.String tableCellSeparator)
Sets the string that is to separate table cells.
|