spring-framework / org.springframework.oxm / GenericUnmarshaller / supports

supports

abstract fun supports(genericType: Type): Boolean

Indicates whether this marshaller can marshal instances of the supplied generic type.

Parameters

genericType - the type that this marshaller is being asked if it can marshal

Return
true if this marshaller can indeed marshal instances of the supplied type; false otherwise