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 aUnmarshallableusing 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 Tunmarshal(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:UnmarshallableUnmarshalls the object from the givenInputStream.- Specified by:
unmarshalin interfaceUnmarshallable- Parameters:
is- theInputStream- Returns:
- the unmarshalled object
-
-