public interface GenericMarshaller extends Marshaller
Marshaller
that has support for generics.Modifier and Type | Method and Description |
---|---|
boolean |
supports(Type genericType)
Indicates whether this marshaller can marshal instances of the supplied generic type.
|
marshal, supports
boolean supports(Type genericType)
genericType
- the type that this marshaller is being asked if it can marshaltrue
if this marshaller can indeed marshal instances of the supplied type;
false
otherwise