org.springframework.oxm
Interface GenericMarshaller
- All Superinterfaces:
- org.springframework.oxm.Marshaller
- All Known Implementing Classes:
- Jaxb2Marshaller
public interface GenericMarshaller
- extends org.springframework.oxm.Marshaller
Extension of the Marshaller interface that supports Java 5 generics. More specifically, this marshaller adds
support for the new Type hierarchy, returned by methods such as Method.getGenericParameterTypes() and
Method.getGenericReturnType().
- Since:
- 1.0.2
- Author:
- Arjen Poutsma
|
Method Summary |
boolean |
supports(java.lang.reflect.Type type)
Indicates whether this marshaller can marshal instances of the supplied type. |
| Methods inherited from interface org.springframework.oxm.Marshaller |
marshal, supports |
supports
boolean supports(java.lang.reflect.Type type)
- Indicates whether this marshaller can marshal instances of the supplied type.
- Parameters:
type - the type that this marshaller is being asked if it can marshal
- Returns:
true if this marshaller can indeed marshal instances of the supplied type;
false otherwise
Copyright © 2008. All Rights Reserved.