01: /*
02: * Created on 11 Sep 2007
03: */
04: package uk.org.ponder.rsf.view;
05:
06: /** Specifies a collection of views within the application. Current predicates
07: * are by content type or by ViewID. Predicates are comma-separated lists -
08: * a predicate with the first character equal to <code>!</code> represents
09: * the negation. For example contentType may be set to <code>HTML, HTML_FRAGMENT</code>
10: * or alternatively <code>!AJAX</code>. Similarly viewList may be a list of viewIDs
11: * or the negation of a list.
12: * @author Antranig Basman (antranig@caret.cam.ac.uk)
13: *
14: */
15:
16: public class ViewGroup {
17: private String contentTypeSpec;
18: private String viewList;
19:
20: public String getContentTypeSpec() {
21: return contentTypeSpec;
22: }
23:
24: public void setContentTypeSpec(String contentTypeSpec) {
25: this .contentTypeSpec = contentTypeSpec;
26: }
27:
28: public String getViewList() {
29: return viewList;
30: }
31:
32: public void setViewList(String viewList) {
33: this.viewList = viewList;
34: }
35: }
|