View Javadoc
1   package org.kuali.coeus.s2sgen.impl.print;
2   
3   
4   import javax.xml.transform.Source;
5   import java.util.List;
6   import java.util.Map;
7   
8   public class GenericPrintable implements S2SPrintable {
9   
10  	Map<String, byte[]> streamMap;
11  	Map<String, byte[]> attachments;
12  	Map<String, Source> xSLTemplateWithBookmarks;
13  	List<Source> xSLTemplates;
14  
15  	public void setStreamMap(Map<String, byte[]> streamMap) {
16  		this.streamMap = streamMap;
17  	}
18  
19  	public void setAttachments(Map<String, byte[]> attachments) {
20  		this.attachments = attachments;
21  	}
22  
23  	public void setXSLTemplateWithBookmarks(
24  			Map<String, Source> templateWithBookmarks) {
25  		xSLTemplateWithBookmarks = templateWithBookmarks;
26  	}
27  
28  	public void setXSLTemplates(List<Source> templates) {
29  		xSLTemplates = templates;
30  	}
31  
32  	public Map<String, byte[]> getAttachments() {
33  		return attachments;
34  	}
35  
36  	public Map<String, Source> getXSLTemplateWithBookmarks() {
37  		return xSLTemplateWithBookmarks;
38  	}
39  
40  	public List<Source> getXSLTemplates() {
41  		return xSLTemplates;
42  	}
43  
44  	public Map<String, byte[]> renderXML() {
45  		return streamMap;
46  	}
47  }