01: /*
02: * Created on 19 Jul 2007
03: */
04: package uk.org.ponder.rsf.viewstate;
05:
06: /** Allows a client to look up the registered view parameters "exemplar" for
07: * a particular ViewID.
08: *
09: * @author Antranig Basman (antranig@caret.cam.ac.uk)
10: */
11:
12: public interface ViewParamsRegistry {
13: /** Return a fresh clone of the exemplar for the specified view - this will
14: * be of the correct type, perhaps with some initialised fields, but an
15: * unshared copy ready to be fully initialised, perhaps with a call to
16: * {@link ViewParamsCodec#parseViewParams(ViewParameters, RawURLState).
17: * The <code>viewID</code> field in the returned exemplar will be set to the
18: * argument supplied.
19: */
20: public ViewParameters getViewParamsExemplar(String viewID);
21:
22: }
|