|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.strutsme.common.serialization.SerializationBase
public abstract class SerializationBase
SerializationBase is the base class for all serializable classes. All classes which want to be serialized in the J2ME environment needs to extend SerializationBase and to implement the methods.
| Constructor Summary | |
|---|---|
protected |
SerializationBase()
Default constructor. |
| Method Summary | |
|---|---|
abstract void |
copyValuesToBean(SafeHashtable map)
Update all properties of this bean from the given map. |
abstract void |
copyValuesToMap(SafeHashtable map)
Copy all properties from this bean into the given map. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SerializationBase()
| Method Detail |
|---|
public abstract void copyValuesToMap(SafeHashtable map)
throws SerializationException
Constants.VERSION key.
map - the target SafeHashtable to be filled
SerializationException - in the case of a wrong serialization
version
public abstract void copyValuesToBean(SafeHashtable map)
throws SerializationException
map - the SafeHashtable with the values of the properties
SerializationException - in the case of a wrong serialization
version
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||