Package org.springframework.oxm
Interface GenericMarshaller
- All Superinterfaces:
Marshaller
- All Known Implementing Classes:
Jaxb2Marshaller
public interface GenericMarshaller extends Marshaller
Subinterface ofMarshallerthat has support for Java 5 generics.- Since:
- 3.0.1
- Author:
- Arjen Poutsma
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleansupports(Type genericType)Indicates whether this marshaller can marshal instances of the supplied generic type.Methods inherited from interface org.springframework.oxm.Marshaller
marshal, supports
Method Detail
supports
boolean supports(Type genericType)
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- Returns:
trueif this marshaller can indeed marshal instances of the supplied type;falseotherwise