Package freemarker.core
Class TemplateXMLOutputModel
java.lang.Object
freemarker.core.CommonTemplateMarkupOutputModel<TemplateXMLOutputModel>
freemarker.core.TemplateXMLOutputModel
- All Implemented Interfaces:
TemplateMarkupOutputModel<TemplateXMLOutputModel>
,TemplateModel
- Direct Known Subclasses:
TemplateXHTMLOutputModel
Stores XML markup to be printed; used with
XMLOutputFormat
.
This class was final before 2.3.29.
- Since:
- 2.3.24
-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
-
Constructor Summary
ModifierConstructorDescriptionprotected
TemplateXMLOutputModel(String plainTextContent, String markupContent)
-
Method Summary
Modifier and TypeMethodDescriptionReturns the singletonOutputFormat
object that implements the operations for the "markup output" value.Methods inherited from class freemarker.core.CommonTemplateMarkupOutputModel
toString
-
Constructor Details
-
TemplateXMLOutputModel
- Since:
- 2.3.29
-
-
Method Details
-
getOutputFormat
Description copied from interface:TemplateMarkupOutputModel
Returns the singletonOutputFormat
object that implements the operations for the "markup output" value.- Specified by:
getOutputFormat
in interfaceTemplateMarkupOutputModel<TemplateXMLOutputModel>
- Specified by:
getOutputFormat
in classCommonTemplateMarkupOutputModel<TemplateXMLOutputModel>
-