Top Description Methods
org.springframework.oxm

public Interface GenericMarshaller

extends Marshaller
Known Direct Implementers
org.springframework.oxm.jaxb.Jaxb2Marshaller
Imports
java.lang.reflect.Type

Subinterface of Marshaller that has support for generics.
Author
Arjen Poutsma
Since
3.0.1

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if this marshaller can indeed marshal instances of the supplied type; false otherwise
supports
(Type
the type that this marshaller is being asked if it can marshal
genericType
)

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

Inherited from org.springframework.oxm.Marshaller:
marshalsupports

Method Detail

supportsback to summary
public boolean supports(Type genericType)

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

Parameters
genericType:Type

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

Returns:boolean

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