Package net.sf.jasperreports.repo
Class JasperDesignCache
- java.lang.Object
-
- net.sf.jasperreports.repo.JasperDesignCache
-
- All Implemented Interfaces:
Serializable
public class JasperDesignCache extends Object implements Serializable
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_INVALID_ENTRY
-
Method Summary
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_INVALID_ENTRY
public static final String EXCEPTION_MESSAGE_KEY_INVALID_ENTRY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static JasperDesignCache getInstance(JasperReportsContext jasperReportsContext, ReportContext reportContext)
-
getExistingInstance
public static JasperDesignCache getExistingInstance(ReportContext reportContext)
-
getJasperReport
public JasperReport getJasperReport(String uri)
-
getJasperDesign
public JasperDesign getJasperDesign(String uri)
-
getJasperDesign
public JasperDesign getJasperDesign(String uri, boolean markDirty)
-
set
public void set(String uri, JasperReport jasperReport)
-
set
public void set(String uri, JasperDesign jasperDesign)
-
resetJasperReport
public void resetJasperReport(String uri)
-
remove
public JasperDesignReportResource remove(String uri)
-
set
public void set(String uri, JasperDesignReportResource resource)
-
clear
public void clear()
-
ensureJasperDesign
protected void ensureJasperDesign(JasperDesignReportResource resource, boolean markDirty)
-
getCachedResources
public Map<String,JasperDesignReportResource> getCachedResources()
-
locateReport
public String locateReport(JasperReport jasperReport)
-
setReportCompiler
public void setReportCompiler(ReportCompiler reportCompiler)
-
-