Uses of Class
freemarker.core.OutputFormat
Packages that use OutputFormat
Package
Description
The seldom used or advanced parts of the fundamental FreeMarker API, compared to
freemarker.template.The fundamental, most commonly used API-s of FreeMarker;
start with
Configuration (see also the
Getting Started in the Manual.)-
Uses of OutputFormat in freemarker.core
Subclasses of OutputFormat in freemarker.coreModifier and TypeClassDescriptionfinal classRepresents two markup formats nested into each other.classCommon superclass for implementingMarkupOutputFormat-s that use aCommonTemplateMarkupOutputModelsubclass.classRepresents the CSS output format (MIME type "text/css", name "CSS").classRepresents the HTML output format (MIME type "text/html", name "HTML").classRepresents the JavaScript output format (MIME type "application/javascript", name "JavaScript").classRepresents the JSON output format (MIME type "application/json", name "JSON").classMarkupOutputFormat<MO extends TemplateMarkupOutputModel>Superclass ofOutputFormat-s that represent a "markup" format, which is any format where certain character sequences have special meaning and thus may need escaping.final classRepresents the plain text output format (MIME type "text/plain", name "plainText").classRepresents the Rich Text Format output format (MIME type "application/rtf", name "RTF").final classRepresents the output format used when the template output format is undecided.classRepresents the XML output format (MIME type "application/xhtml+xml", name "XHTML"); this behaves identically toHTMLOutputFormat, except that the name an the MIME Type differs.classRepresents the XML output format (MIME type "application/xml", name "XML").Methods in freemarker.core that return OutputFormatModifier and TypeMethodDescriptionParserConfiguration.getOutputFormat()TemplateConfiguration.getOutputFormat()The getter pair ofTemplateConfiguration.setOutputFormat(OutputFormat).Methods in freemarker.core with parameters of type OutputFormatModifier and TypeMethodDescriptionvoidTemplateConfiguration.setOutputFormat(OutputFormat outputFormat) Sets the output format of the template; seeConfiguration.setOutputFormat(OutputFormat)for more. -
Uses of OutputFormat in freemarker.template
Methods in freemarker.template that return OutputFormatModifier and TypeMethodDescriptionConfiguration.getOutputFormat()Getter pair ofConfiguration.setOutputFormat(OutputFormat)Configuration.getOutputFormat(String name) Returns the output format for a name.Template.getOutputFormat()Returns the output format (seeConfiguration.setOutputFormat(OutputFormat)) used for this template.Methods in freemarker.template that return types with arguments of type OutputFormatModifier and TypeMethodDescriptionCollection<? extends OutputFormat> Configuration.getRegisteredCustomOutputFormats()Getter pair ofConfiguration.setRegisteredCustomOutputFormats(Collection).Methods in freemarker.template with parameters of type OutputFormatModifier and TypeMethodDescriptionvoidConfiguration.setOutputFormat(OutputFormat outputFormat) Sets the default output format.Method parameters in freemarker.template with type arguments of type OutputFormatModifier and TypeMethodDescriptionvoidConfiguration.setRegisteredCustomOutputFormats(Collection<? extends OutputFormat> registeredCustomOutputFormats) Sets the custom output formats that can be referred by their unique name (getName()) from templates.