org.ofbiz.webapp.view
Class FopRenderer

java.lang.Object
  extended by org.ofbiz.webapp.view.FopRenderer

public class FopRenderer
extends java.lang.Object

FopRenderer


Field Summary
static java.lang.String module
           
 
Constructor Summary
FopRenderer()
           
 
Method Summary
static java.io.ByteArrayOutputStream render(java.io.Writer writer)
          Renders a PDF document from a FO script that is passed in and returns the content as a ByteArrayOutputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

module

public static final java.lang.String module
Constructor Detail

FopRenderer

public FopRenderer()
Method Detail

render

public static java.io.ByteArrayOutputStream render(java.io.Writer writer)
                                            throws GeneralException
Renders a PDF document from a FO script that is passed in and returns the content as a ByteArrayOutputStream

Parameters:
writer - a Writer stream that supplies the FO text to be rendered
Returns:
ByteArrayOutputStream containing the binary representation of a PDF document
Throws:
GeneralException