org.mapfish.print
Class RenderingContext

java.lang.Object
  extended by org.mapfish.print.RenderingContext

public class RenderingContext
extends java.lang.Object

Holds some "per rendering request" information.


Constructor Summary
RenderingContext(com.lowagie.text.Document document, com.lowagie.text.pdf.PdfWriter writer, Config config, PJsonObject globalParams, java.lang.String configDir, Layout layout, java.lang.String referer)
           
 
Method Summary
 void addError(java.lang.Exception e)
           
 Config getConfig()
           
 java.lang.String getConfigDir()
           
 PDFCustomBlocks getCustomBlocks()
           
 com.lowagie.text.pdf.PdfContentByte getDirectContent()
           
 com.lowagie.text.Document getDocument()
           
 PJsonObject getGlobalParams()
           
 Layout getLayout()
           
 java.lang.Object getPdfLock()
           
 java.lang.String getReferer()
           
 float getStyleFactor()
           
 java.util.Map<java.net.URI,com.lowagie.text.pdf.PdfTemplate> getTemplateCache()
           
 com.lowagie.text.pdf.PdfWriter getWriter()
           
 void setStyleFactor(float styleFactor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenderingContext

public RenderingContext(com.lowagie.text.Document document,
                        com.lowagie.text.pdf.PdfWriter writer,
                        Config config,
                        PJsonObject globalParams,
                        java.lang.String configDir,
                        Layout layout,
                        java.lang.String referer)
Method Detail

getCustomBlocks

public PDFCustomBlocks getCustomBlocks()

getDocument

public com.lowagie.text.Document getDocument()

getConfig

public Config getConfig()

getWriter

public com.lowagie.text.pdf.PdfWriter getWriter()

getDirectContent

public com.lowagie.text.pdf.PdfContentByte getDirectContent()

getGlobalParams

public PJsonObject getGlobalParams()

getConfigDir

public java.lang.String getConfigDir()

getLayout

public Layout getLayout()

addError

public void addError(java.lang.Exception e)

getStyleFactor

public float getStyleFactor()

setStyleFactor

public void setStyleFactor(float styleFactor)

getTemplateCache

public java.util.Map<java.net.URI,com.lowagie.text.pdf.PdfTemplate> getTemplateCache()

getReferer

public java.lang.String getReferer()

getPdfLock

public java.lang.Object getPdfLock()


Copyright © 2009 Camptocamp SA. All Rights Reserved.