## Uses of Class
freemarker.core.OutputFormat

Packages that use OutputFormat
freemarker.core: The seldom used or advanced parts of the fundamental FreeMarker API, compared to `freemarker.template`.
freemarker.template: The fundamental, most commonly used API-s of FreeMarker; start with `Configuration` (see also the Getting Stared in the Manual.)

### Uses of OutputFormat in freemarker.core

Subclasses of OutputFormat in freemarker.core
`class` `CombinedMarkupOutputFormat` Represents two markup formats nested into each other.
`class` `CommonMarkupOutputFormat<MO extends CommonTemplateMarkupOutputModel>` Common superclass for implementing `MarkupOutputFormat`-s that use a `CommonTemplateMarkupOutputModel` 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 of `OutputFormat`-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").
`class` `XMLOutputFormat` Represents the XML output format (MIME type "application/xml", name "XML").

Methods in freemarker.core that return OutputFormat
`OutputFormat` TemplateConfiguration.`getOutputFormat()` The getter pair of `TemplateConfiguration.setOutputFormat(OutputFormat)`.
`OutputFormat` ParserConfiguration.`getOutputFormat()` See `Configurable.getOutputEncoding()`.

Methods in freemarker.core with parameters of type OutputFormat
`void` TemplateConfiguration.`setOutputFormat(OutputFormat outputFormat)` Sets the output format of the template; see `Configuration.setOutputFormat(OutputFormat)` for more.

### Uses of OutputFormat in freemarker.template

Methods in freemarker.template that return OutputFormat
`OutputFormat` Template.`getOutputFormat()` Returns the output format (see `Configuration.setOutputFormat(OutputFormat)`) used for this template.
`OutputFormat` Configuration.`getOutputFormat()` Getter pair of `Configuration.setOutputFormat(OutputFormat)`
`OutputFormat` Configuration.`getOutputFormat(String name)` Returns the output format for a name.

Methods in freemarker.template that return types with arguments of type OutputFormat
`Collection<? extends OutputFormat>` Configuration.`getRegisteredCustomOutputFormats()` Getter pair of `Configuration.setRegisteredCustomOutputFormats(Collection)`.

Methods in freemarker.template with parameters of type OutputFormat
`void` Configuration.`setOutputFormat(OutputFormat outputFormat)` Sets the default output format.

Method parameters in freemarker.template with type arguments of type OutputFormat
`void` Configuration.`setRegisteredCustomOutputFormats(Collection<? extends OutputFormat> registeredCustomOutputFormats)` Sets the custom output formats that can be referred by their unique name (`getName()`) from templates.