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