org.umber.crucible.docgen
Class XmlToPdf

java.lang.Object
  extended byorg.umber.crucible.docgen.XmlToPdf

public class XmlToPdf
extends java.lang.Object

Converts XML content into a PDF file, according to the layout XML.

Author:
jsheets

Constructor Summary
XmlToPdf()
           
 
Method Summary
 byte[] createPdf(Datum dataXml, boolean compress)
           
 byte[] createPdf(Datum layoutXml, Datum dataXml, boolean compress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlToPdf

public XmlToPdf()
Method Detail

createPdf

public byte[] createPdf(Datum dataXml,
                        boolean compress)
                 throws CrucibleLayoutException
Throws:
CrucibleLayoutException

createPdf

public byte[] createPdf(Datum layoutXml,
                        Datum dataXml,
                        boolean compress)
                 throws CrucibleLayoutException
Throws:
CrucibleLayoutException