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

setClearCollections

open fun setClearCollections(clearCollections: Boolean): Unit

Sets whether this unmarshaller should clear collections upon the first use.

The default is false which means that marshaller won't clear collections.

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