public final class HtmlListFormatter extends ListFormatter
Provides the functionality to format the list as HTML formatting.
Constructor and Description |
---|
HtmlListFormatter()
Initializes a new instance
of the
HtmlListFormatter class. |
Modifier and Type | Method and Description |
---|---|
String |
closeList()
Closes the current list.
|
protected String |
formatText(ListItem item,
DocumentPartOptions documentPartOptions)
Converts
item to the string with formatting. |
getItemMaxWidth, getText, getText
getPreviousDocumentPartOptions, getPreviousItem, getText, getText, isEmpty, isFirstItem, reset
public HtmlListFormatter()
Initializes a new instance
of the HtmlListFormatter
class.
public String closeList()
Closes the current list.
closeList
in class ListFormatter
protected String formatText(ListItem item, DocumentPartOptions documentPartOptions)
Converts item
to the string with formatting.
formatText
in class DocumentPartFormatter<ListItem>
item
- The item for formatting.documentPartOptions
- The options for formatting.item
.Copyright © 2018. All rights reserved.