public interface GenericMarshaller extends Marshaller
Marshaller
that has support for Java 5 generics.Modifier and Type | Method and Description |
---|---|
boolean |
supports(java.lang.reflect.Type genericType)
Indicates whether this marshaller can marshal instances of the supplied generic type.
|
marshal, supports
boolean supports(java.lang.reflect.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