01: /*
02: * Created on 25 May 2007
03: */
04: package uk.org.ponder.rsf.renderer;
05:
06: import uk.org.ponder.rsf.template.XMLLumpMMap;
07: import uk.org.ponder.rsf.view.View;
08: import uk.org.ponder.streamutil.write.PrintOutputStream;
09: import uk.org.ponder.xml.XMLWriter;
10:
11: /**
12: * Encapsulates the call-invariant arguments to a RenderSystem in a convenient
13: * package.
14: *
15: * @author Antranig Basman (antranig@caret.cam.ac.uk)
16: * @since 0.7.1A
17: */
18:
19: public class RenderSystemContext {
20: public boolean debugrender;
21: public View view;
22: public PrintOutputStream pos;
23: public XMLWriter xmlw;
24: public IDAssigner IDassigner;
25: public XMLLumpMMap collecteds;
26:
27: public RenderSystemContext(boolean debugrender, View view,
28: PrintOutputStream pos, XMLWriter xmlw,
29: IDAssigner dassigner, XMLLumpMMap collecteds) {
30: this.debugrender = debugrender;
31: this.view = view;
32: this.pos = pos;
33: this.xmlw = xmlw;
34: IDassigner = dassigner;
35: this.collecteds = collecteds;
36: }
37:
38: }
|