Uses of Class
freemarker.core.OutputFormat
-
Packages that use OutputFormat Package Description freemarker.core The seldom used or advanced parts of the fundamental FreeMarker API, compared tofreemarker.template
.freemarker.template The fundamental, most commonly used API-s of FreeMarker; start withConfiguration
(see also the Getting Started in the Manual.) -
-
Uses of OutputFormat in freemarker.core
Subclasses of OutputFormat in freemarker.core Modifier and Type Class Description class
CombinedMarkupOutputFormat
Represents two markup formats nested into each other.class
CommonMarkupOutputFormat<MO extends CommonTemplateMarkupOutputModel>
Common superclass for implementingMarkupOutputFormat
-s that use aCommonTemplateMarkupOutputModel
subclass.class
CSSOutputFormat
Represents the CSS output format (MIME type "text/css", name "CSS").class
HTMLOutputFormat
Represents the HTML output format (MIME type "text/html", name "HTML").class
JavaScriptOutputFormat
Represents the JavaScript output format (MIME type "application/javascript", name "JavaScript").class
JSONOutputFormat
Represents the JSON output format (MIME type "application/json", name "JSON").class
MarkupOutputFormat<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.class
PlainTextOutputFormat
Represents the plain text output format (MIME type "text/plain", name "plainText").class
RTFOutputFormat
Represents the Rich Text Format output format (MIME type "application/rtf", name "RTF").class
UndefinedOutputFormat
Represents the output format used when the template output format is undecided.class
XHTMLOutputFormat
Represents the XML output format (MIME type "application/xhtml+xml", name "XHTML"); this behaves identically toHTMLOutputFormat
, except that the name an the MIME Type differs.class
XMLOutputFormat
Represents the XML output format (MIME type "application/xml", name "XML").Methods in freemarker.core that return OutputFormat Modifier and Type Method Description OutputFormat
ParserConfiguration. getOutputFormat()
OutputFormat
TemplateConfiguration. getOutputFormat()
The getter pair ofTemplateConfiguration.setOutputFormat(OutputFormat)
.Methods in freemarker.core with parameters of type OutputFormat Modifier and Type Method Description void
TemplateConfiguration. 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 OutputFormat Modifier and Type Method Description OutputFormat
Configuration. getOutputFormat()
Getter pair ofConfiguration.setOutputFormat(OutputFormat)
OutputFormat
Configuration. getOutputFormat(java.lang.String name)
Returns the output format for a name.OutputFormat
Template. getOutputFormat()
Returns the output format (seeConfiguration.setOutputFormat(OutputFormat)
) used for this template.Methods in freemarker.template that return types with arguments of type OutputFormat Modifier and Type Method Description java.util.Collection<? extends OutputFormat>
Configuration. getRegisteredCustomOutputFormats()
Getter pair ofConfiguration.setRegisteredCustomOutputFormats(Collection)
.Methods in freemarker.template with parameters of type OutputFormat Modifier and Type Method Description void
Configuration. setOutputFormat(OutputFormat outputFormat)
Sets the default output format.Method parameters in freemarker.template with type arguments of type OutputFormat Modifier and Type Method Description void
Configuration. setRegisteredCustomOutputFormats(java.util.Collection<? extends OutputFormat> registeredCustomOutputFormats)
Sets the custom output formats that can be referred by their unique name (getName()
) from templates.
-