org.springframework.oxm
Interface GenericUnmarshaller
- All Superinterfaces:
- org.springframework.oxm.Unmarshaller
- All Known Implementing Classes:
- Jaxb2Marshaller
public interface GenericUnmarshaller
- extends org.springframework.oxm.Unmarshaller
Extension of the Unmarshaller interface that supports Java 5 generics. More specifically, this unmarshaller
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 unmarshaller can unmarshal instances of the supplied type. |
| Methods inherited from interface org.springframework.oxm.Unmarshaller |
supports, unmarshal |
supports
boolean supports(java.lang.reflect.Type type)
- Indicates whether this unmarshaller can unmarshal instances of the supplied type.
- Parameters:
type - the type that this unmarshaller is being asked if it can marshal
- Returns:
true if this unmarshaller can indeed unmarshal to the supplied type; false
otherwise
Copyright © 2008. All Rights Reserved.