Class XStreamUnmarshallableSupport<T>
- java.lang.Object
-
- it.tidalwave.thesefoolishthings.examples.dci.marshal.role.XStreamUnmarshallableSupport<T>
-
- All Implemented Interfaces:
Unmarshallable
- Direct Known Subclasses:
ListOfPersonsXStreamUnmarshallable
,PersonXStreamUnmarshallable
public abstract class XStreamUnmarshallableSupport<T> extends java.lang.Object implements Unmarshallable
A facility class for implementing aUnmarshallable
using XStream.- Author:
- Fabrizio Giudici
-
-
Field Summary
-
Fields inherited from interface it.tidalwave.role.io.Unmarshallable
_Unmarshallable_
-
-
Constructor Summary
Constructors Constructor Description XStreamUnmarshallableSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
unmarshal(java.io.InputStream is)
Unmarshalls the object from the givenInputStream
.
-
-
-
Method Detail
-
unmarshal
@Nonnull public final T unmarshal(@Nonnull java.io.InputStream is)
Description copied from interface:Unmarshallable
Unmarshalls the object from the givenInputStream
.- Specified by:
unmarshal
in interfaceUnmarshallable
- Parameters:
is
- theInputStream
- Returns:
- the unmarshalled object
-
-