public class GenericPrintable extends Object implements Printable
| Constructor and Description |
|---|
GenericPrintable() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,byte[]> |
getAttachments()
This method will return the PDF attachments specific to the printable.
|
KraPersistableBusinessObjectBase |
getPrintableBusinessObject()
This method will provide the document object associated with the
printable
|
Watermarkable |
getWatermarkable()
This method for getting the watermark.
|
List<Source> |
getXSLTemplates()
This method provides a way to get the XSL Transform(s) for the KC
generated XML.
|
Map<String,Source> |
getXSLTemplateWithBookmarks() |
boolean |
isWatermarkEnabled()
This method for checking watermark is enable or disable
for this document.
|
Map<String,byte[]> |
renderXML()
This method will provide the either reflected or XML-Bean based XML for
input to the Transform into XML-FO.
|
void |
setAttachments(Map<String,byte[]> attachments) |
void |
setPrintableBusinessObject(KraPersistableBusinessObjectBase printableBusinessObject) |
void |
setStreamMap(Map<String,byte[]> streamMap) |
void |
setXSLTemplates(List<Source> templates) |
void |
setXSLTemplateWithBookmarks(Map<String,Source> templateWithBookmarks) |
public void setXSLTemplateWithBookmarks(Map<String,Source> templateWithBookmarks)
public void setPrintableBusinessObject(KraPersistableBusinessObjectBase printableBusinessObject)
public Map<String,byte[]> getAttachments()
PrintablegetAttachments in interface Printablepublic KraPersistableBusinessObjectBase getPrintableBusinessObject()
PrintablegetPrintableBusinessObject in interface Printablepublic Map<String,Source> getXSLTemplateWithBookmarks()
getXSLTemplateWithBookmarks in interface Printablepublic List<Source> getXSLTemplates()
PrintablegetXSLTemplates in interface Printablepublic Map<String,byte[]> renderXML() throws PrintingException
PrintablerenderXML in interface PrintablePrintingExceptionpublic boolean isWatermarkEnabled()
isWatermarkEnabled in interface Printablepublic Watermarkable getWatermarkable()
getWatermarkable in interface Printablereturn watermarkableCopyright © 2013 The Kuali Foundation. All Rights Reserved.