Package ru.ilb.jfunction.marshallers
Class UnmarshallerImpl
- java.lang.Object
-
- ru.ilb.jfunction.marshallers.UnmarshallerImpl
-
- All Implemented Interfaces:
Unmarshaller
@Named public class UnmarshallerImpl extends Object implements Unmarshaller
- Author:
- slavb
-
-
Field Summary
-
Fields inherited from interface ru.ilb.jfunction.marshallers.Unmarshaller
INSTANCE
-
-
Constructor Summary
Constructors Constructor Description UnmarshallerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Tunmarshall(Object value, Class<T> type)Unmarshalls value to required typeObjectunmarshall(Object value, String type)Unmarshalls value to required type
-
-
-
Method Detail
-
unmarshall
public Object unmarshall(Object value, String type)
Unmarshalls value to required type- Specified by:
unmarshallin interfaceUnmarshaller- Parameters:
value-type-- Returns:
-
unmarshall
public <T> T unmarshall(Object value, Class<T> type)
Unmarshalls value to required type- Specified by:
unmarshallin interfaceUnmarshaller- Type Parameters:
T-- Parameters:
value-type-- Returns:
-
-