01: /*
02: * Created on 11 Sep 2007
03: */
04: package uk.org.ponder.rsf.view;
05:
06: import uk.org.ponder.rsf.producers.LayoutProducer;
07:
08: /** The type of a bean definition "holding" an outer, or "layout" template.
09: * As well as the LayoutProducer itself, it also holds a {@link ViewGroup}
10: * specification, or an EL path where one may be found.
11: *
12: * @author Antranig Basman (antranig@caret.cam.ac.uk)
13: *
14: */
15:
16: public class LayoutProducerHolder {
17: private String viewGroupName;
18: private ViewGroup viewGroup;
19:
20: private LayoutProducer producer;
21:
22: public String getViewGroupName() {
23: return viewGroupName;
24: }
25:
26: public void setViewGroupName(String viewGroupName) {
27: this .viewGroupName = viewGroupName;
28: }
29:
30: public ViewGroup getViewGroup() {
31: return viewGroup;
32: }
33:
34: public void setViewGroup(ViewGroup viewGroup) {
35: this .viewGroup = viewGroup;
36: }
37:
38: public LayoutProducer getProducer() {
39: return producer;
40: }
41:
42: public void setProducer(LayoutProducer producer) {
43: this.producer = producer;
44: }
45: }
|