public interface IMarshaller
| Modifier and Type | Method and Description |
|---|---|
<T> T |
deserialize(byte[] objectData,
Class<T> clazz)
Deserializes the object from the specified object data.
|
<T> T |
deserialize(InputStream inputStream,
Class<T> clazz)
Deserializes the object from the input-stream.
|
String |
getMimeType()
Gets the supported mime-type for this marshaller.
|
byte[] |
serialize(Serializable object)
Serialize the specified
Serializable object. |
byte[] serialize(Serializable object) throws ServiceException
Serializable object.object - the Serializable objectServiceException<T> T deserialize(InputStream inputStream, Class<T> clazz) throws ServiceException
inputStream - the input streamServiceException<T> T deserialize(byte[] objectData,
Class<T> clazz)
throws ServiceException
objectData - the object dataServiceExceptionString getMimeType()
Copyright © 2016. All rights reserved.