spring-framework / org.springframework.oxm / GenericUnmarshaller

GenericUnmarshaller

interface GenericUnmarshaller : Unmarshaller

Subinterface of Unmarshaller that has support for Java 5 generics.

Author
Arjen Poutsma

Since
3.0.1

Functions

supports

abstract fun supports(genericType: Type): Boolean

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

Inheritors

Jaxb2Marshaller

open class Jaxb2Marshaller : MimeMarshaller, MimeUnmarshaller, GenericMarshaller, GenericUnmarshaller, BeanClassLoaderAware, InitializingBean

Implementation of the GenericMarshaller interface for JAXB 2.2.

The typical usage will be to set either the "contextPath" or the "classesToBeBound" property on this bean, possibly customize the marshaller and unmarshaller by setting properties, schemas, adapters, and listeners, and to refer to it.