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

setIgnoreExtraAttributes

open fun setIgnoreExtraAttributes(ignoreExtraAttributes: Boolean): Unit

Set whether the Castor Unmarshaller should ignore attributes that do not match a specific field.

Default is true: Extra attributes are ignored.

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