|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OpenmrsSerializer
Implementations of this interface provide serialization implementations for OpenMRS.
Method Summary | ||
---|---|---|
|
deserialize(java.lang.String serializedObject,
java.lang.Class<? extends T> clazz)
Deserialize the given string into a full object |
|
java.lang.String |
serialize(java.lang.Object o)
Turn the current object into an identifying string that can be retrieved later |
Method Detail |
---|
java.lang.String serialize(java.lang.Object o) throws SerializationException
o
- - the object to serialize
SerializationException
<T> T deserialize(java.lang.String serializedObject, java.lang.Class<? extends T> clazz) throws SerializationException
serializedObject
- - String to deserializeclazz
- - The class to deserialize the Object into
SerializationException
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |