Spring Web Services Framework

org.springframework.oxm
Interface GenericUnmarshaller

All Superinterfaces:
Unmarshaller
All Known Implementing Classes:
Jaxb2Marshaller

public interface GenericUnmarshaller
extends 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(Type type)
          Indicates whether this unmarshaller can unmarshal instances of the supplied type.
 
Methods inherited from interface org.springframework.oxm.Unmarshaller
supports, unmarshal
 

Method Detail

supports

boolean supports(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

Spring Web Services Framework

Copyright © 2005-2010 The Spring Web Services Framework. All Rights Reserved.