Enum MediaType
Result type of a payload template. Decides how substituted values are escaped and which
ContentType the produced body gets. Mandatory: without it a value containing a quote or
an ampersand silently breaks the document (WSO2 PayloadFactory defaults to XML, which is a trap).
public enum MediaType