public abstract class CommonTemplateMarkupOutputModel<MO extends CommonTemplateMarkupOutputModel<MO>> extends Object implements TemplateMarkupOutputModel<MO>
TemplateMarkupOutputModel-s that belong to a
CommonMarkupOutputFormat subclass format.
Thread-safe after proper publishing. Calculated fields (typically, the markup calculated from plain text) might will be re-calculated for multiple times if accessed from multiple threads (this only affects performance, not functionality).
NOTHING| Modifier | Constructor and Description |
|---|---|
protected |
CommonTemplateMarkupOutputModel(String plainTextContent,
String markupContent)
A least one of the parameters must be non-
null! |
| Modifier and Type | Method and Description |
|---|---|
abstract CommonMarkupOutputFormat<MO> |
getOutputFormat()
Returns the singleton
OutputFormat object that implements the operations for the "markup output" value. |
public abstract CommonMarkupOutputFormat<MO> getOutputFormat()
TemplateMarkupOutputModelOutputFormat object that implements the operations for the "markup output" value.getOutputFormat in interface TemplateMarkupOutputModel<MO extends CommonTemplateMarkupOutputModel<MO>>