01: /*
02: * Created on 31 Oct 2006
03: */
04: package uk.org.ponder.rsf.viewstate;
05:
06: /** A form of ViewParameters representing a URL external to RSF. This is legal
07: * only for outgoing references (e.g. from NavigationCaseReporter) within RSF,
08: * and will not be reported as the ViewParameters for any view.
09: * @author Antranig Basman (antranig@caret.cam.ac.uk)
10: *
11: */
12:
13: public class RawViewParameters implements AnyViewParameters {
14: public String URL;
15:
16: public RawViewParameters(String URL) {
17: this .URL = URL;
18: }
19:
20: public String toString() {
21: return URL;
22: }
23:
24: public AnyViewParameters copy() {
25: return new RawViewParameters(URL);
26: }
27:
28: public AnyViewParameters get() {
29: return this;
30: }
31: }
|