|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IObjectSerialDeserial<T>
General interface to implement object serializers/deserializers.
Method Summary | ||
---|---|---|
|
deserializeObject(T source,
Class<E> targetClass,
String mimeType)
Extract an object instance from a given source object. |
|
T |
serializeObject(Object target,
String mimeType)
Returns a given representation of the target object. |
Method Detail |
---|
T serializeObject(Object target, String mimeType)
targetObject
- the object to convert to the given format.mimeType
- the target MIME type.
<E> E deserializeObject(T source, Class<E> targetClass, String mimeType)
T
- the source object type.source
- the source object.targetClass
- the type of the returned object.mimeType
- the target MIME type.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |