Class GenericPrintable

java.lang.Object
org.kuali.coeus.s2sgen.impl.print.GenericPrintable
All Implemented Interfaces:
S2SPrintable

public class GenericPrintable extends Object implements S2SPrintable
  • Constructor Details

    • GenericPrintable

      public GenericPrintable()
  • Method Details

    • getAttachments

      public Map<String,byte[]> getAttachments()
      Description copied from interface: S2SPrintable
      This method will return the PDF attachments specific to the printable. During printing the attachments will be added as bookmarks to the output. The Key in the map is used as the name of the bookmark.
      Specified by:
      getAttachments in interface S2SPrintable
      Returns:
      Map of Attachment pdf bytes with bookmark names.
    • setAttachments

      public void setAttachments(Map<String,byte[]> attachments)
    • getXslTemplates

      public List<org.springframework.core.io.Resource> getXslTemplates()
      Description copied from interface: S2SPrintable
      This method provides a way to get the XSL Transform(s) for the KC generated XML. This XSLT will create a transformed XML-FO stream that will be converted to PDF. Note that multiple transforms are possible on this data.
      Specified by:
      getXslTemplates in interface S2SPrintable
    • setXslTemplates

      public void setXslTemplates(List<org.springframework.core.io.Resource> xslTemplates)
    • getXml

      public String getXml()
      Description copied from interface: S2SPrintable
      This method will provide the either reflected or XML-Bean based XML for input to the Transform into XML-FO.
      Specified by:
      getXml in interface S2SPrintable
    • setXml

      public void setXml(String xml)
    • getName

      public String getName()
      Specified by:
      getName in interface S2SPrintable
    • setName

      public void setName(String name)