XSCFormat (FreeMarker 2.3.35 API)
Description: declaration: package: freemarker.core, class: XSCFormat

Package freemarker.core

# Class XSCFormat

java.lang.Object
freemarker.core.CFormat
freemarker.core.XSCFormat

public final class XSCFormat extends CFormat
"XS" `CFormat`, for outputting XML that follows the conventions of XML Schema.

Note that with this, strings formatted with `?c`/`?cn` aren't quoted, or escaped with backslash, since those are meaningless in XML, as far as XML Schema is concerned. They are just printed without change. (Note that XML-escaping is the duty of the auto-escaping facility of FreeMarker, and not of the `CFormat`, so that's not done here either.)

Experimental class! This class is too new, and might will change over time. Therefore, for now most methods are not exposed outside FreeMarker. The class itself and some members are exposed as they are needed for configuring FreeMarker.

Since:
  2.3.32

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static XSCFormat`
  `INSTANCE`
  `static String`
  `NAME`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getName()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### NAME

    public static final String NAME
    See Also:
      Constant Field Values

  - ### INSTANCE

    public static final XSCFormat INSTANCE

- ## Method Details

  - ### getName

    public String getName()
    Specified by:
      `getName` in class `CFormat`