open class MappingJackson2XmlView : AbstractJackson2View
Spring MVC View that renders XML content by serializing the model for the current request using Jackson 2's XmlMapper.
The Object to be serialized is supplied as a parameter in the model. The first serializable entry is used. Users can either specify a specific entry in the model via the sourceKey property.
The default constructor uses the default configuration provided by Jackson2ObjectMapperBuilder.
Compatible with Jackson 2.6 and higher, as of Spring 4.3.
Author
Sebastien Deleuze
Since
4.1
MappingJackson2XmlView()
Construct a new MappingJackson2XmlView(xmlMapper: XmlMapper)
Construct a new |
static val DEFAULT_CONTENT_TYPE: String |
open fun setModelKey(modelKey: String): Unit
{@inheritDoc} |