Package freemarker.core
Class TemplateHTMLOutputModel
- java.lang.Object
-
- freemarker.core.CommonTemplateMarkupOutputModel<TemplateHTMLOutputModel>
-
- freemarker.core.TemplateHTMLOutputModel
-
- All Implemented Interfaces:
TemplateMarkupOutputModel<TemplateHTMLOutputModel>
,TemplateModel
public class TemplateHTMLOutputModel extends CommonTemplateMarkupOutputModel<TemplateHTMLOutputModel>
Stores HTML markup to be printed; used withHTMLOutputFormat
.This class was final before 2.3.29.
- Since:
- 2.3.24
-
-
Field Summary
-
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TemplateHTMLOutputModel(java.lang.String plainTextContent, java.lang.String markupContent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HTMLOutputFormat
getOutputFormat()
Returns the singletonOutputFormat
object that implements the operations for the "markup output" value.-
Methods inherited from class freemarker.core.CommonTemplateMarkupOutputModel
toString
-
-
-
-
Method Detail
-
getOutputFormat
public HTMLOutputFormat getOutputFormat()
Description copied from interface:TemplateMarkupOutputModel
Returns the singletonOutputFormat
object that implements the operations for the "markup output" value.- Specified by:
getOutputFormat
in interfaceTemplateMarkupOutputModel<TemplateHTMLOutputModel>
- Specified by:
getOutputFormat
in classCommonTemplateMarkupOutputModel<TemplateHTMLOutputModel>
-
-