|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.strutsme.common.serialization.Serializer
public final class Serializer
The Serializer class transforms an object graph into a string and the other way around. The object graph can consists of the following classes:
| Method Summary | |
|---|---|
static java.lang.Object |
deserialize(java.lang.String s)
Creates the object graph from the given string. |
static java.lang.String |
serialize(java.lang.Object o)
Transforms the object graph into a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.Object deserialize(java.lang.String s)
throws SerializationException
s - the serialized string
SerializationException - if the parameter is malformed, the objects
could not be instantiated or in other error cases.
public static java.lang.String serialize(java.lang.Object o)
throws SerializationException
o - one node in the object graph which will be used to discover the
remaining graph
SerializationException - if the parameter is malformed, the objects
could not be instantiated or in other error cases.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||