spring-framework / org.springframework.oxm.castor / CastorMarshaller / setReuseObjects

setReuseObjects

open fun setReuseObjects(reuseObjects: Boolean): Unit

Set whether this unmarshaller should re-use objects. This will be only used when unmarshalling to an existing object.

The default is false, which means that the objects won't be re-used.

See Also
org.exolab.castor.xml.Unmarshaller#setReuseObjects(boolean)