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
public class TemplateXMLOutputModel extends CommonTemplateMarkupOutputModel<TemplateXMLOutputModel>
Stores XML markup to be printed; used withXMLOutputFormat.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 protectedTemplateXMLOutputModel(java.lang.String plainTextContent, java.lang.String markupContent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLOutputFormatgetOutputFormat()Returns the singletonOutputFormatobject that implements the operations for the "markup output" value.-
Methods inherited from class freemarker.core.CommonTemplateMarkupOutputModel
toString
-
-
-
-
Method Detail
-
getOutputFormat
public XMLOutputFormat getOutputFormat()
Description copied from interface:TemplateMarkupOutputModelReturns the singletonOutputFormatobject that implements the operations for the "markup output" value.- Specified by:
getOutputFormatin interfaceTemplateMarkupOutputModel<TemplateXMLOutputModel>- Specified by:
getOutputFormatin classCommonTemplateMarkupOutputModel<TemplateXMLOutputModel>
-
-