|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Base Class for Converters that need to save their state between requests.
| Method Summary | |
void |
restoreState(RequestContext ctx,
java.lang.Object obj)
Perform any processing required to restore the state from the entries in the state Object. |
java.lang.Object |
saveState(RequestContext ctx)
Gets the state of the instance as a Serializable Object. |
| Methods inherited from interface com.cc.framework.convert.Converter |
getAsObject, getAsString |
| Method Detail |
public java.lang.Object saveState(RequestContext ctx)
Object state = component.saveState(ctx);Component should be the same as before executing it.
ctx - The RequestContext object
public void restoreState(RequestContext ctx,
java.lang.Object obj)
ctx - The RequestContext objectobj - the serialized state
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||