XML Marshalling
The MarshallingView
uses an XML Marshaller
(defined in the cn.taketoday.oxm
package) to render the response content as XML. You can explicitly set the object to be
marshalled by using a MarshallingView
instance’s modelKey
bean property. Alternatively,
the view iterates over all model properties and marshals the first type that is supported
by the Marshaller
. For more information on the functionality in the
cn.taketoday.oxm
package, see Marshalling XML using O/X Mappers.