open fun setUseXSITypeAtRoot(useXSITypeAtRoot: Boolean): Unit
Sets whether this marshaller should output the xsi:type
attribute for the root element. This can be useful when the type of the element can not be simply determined from the element name.
The default is false
: The xsi:type
attribute for the root element won't be written.
See Also
org.exolab.castor.xml.Marshaller#setUseXSITypeAtRoot(boolean)