public final class XSCFormat extends CFormat
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.
Modifier and Type | Field and Description |
---|---|
static XSCFormat |
INSTANCE |
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
public static final java.lang.String NAME
public static final XSCFormat INSTANCE