org.springframework.oxm
Interface GenericMarshaller
- All Superinterfaces:
- Marshaller
- All Known Implementing Classes:
- Jaxb2Marshaller
public interface GenericMarshaller
- extends 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(Type type)
Indicates whether this marshaller can marshal instances of the supplied type. |
supports
boolean supports(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 � 2005-2008 The Spring Web Services Framework. All Rights Reserved.