| net.sf.jasperreports.engine.JRSubreport
All known Subclasses: net.sf.jasperreports.engine.base.JRBaseSubreport, net.sf.jasperreports.engine.fill.JRFillSubreport, net.sf.jasperreports.engine.design.JRDesignSubreport,
JRSubreport | public interface JRSubreport extends JRElement(Code) | | author: Teodor Danciu (teodord@users.sourceforge.net) version: $Id: JRSubreport.java 1229 2006-04-19 10:27:35Z teodord $ |
getReturnValues | public JRSubreportReturnValue[] getReturnValues()(Code) | | Returns the list of subreport copied values.
the list of subreport copied values. |
isOwnUsingCache | public Boolean isOwnUsingCache()(Code) | | Indicates if the engine is loading the current subreport from cache.
Implementations of this method return the actual value for the internal flag that was explicitly
set on this subreport.
Boolean.TRUE if the subreport should be loaded from cache, Boolean.FALSE otherwise or null in case the flag was never explicitly set on this subreport element |
isUsingCache | public boolean isUsingCache()(Code) | | Indicates if the engine is loading the current subreport from cache.
Implementations of this method rely on default values that depend on the type of the subreport expression
if a value was not explicitly set of this flag.
true if the subreport should be loaded from cache, false otherwise |
setUsingCache | public void setUsingCache(boolean isUsingCache)(Code) | | Specifies if the engine should be loading the current subreport from cache. If set to true, the reporting engine
will try to recognize previously loaded subreports using their specified source. For example, it will recognize
a subreport if the subreport source is a file name that it has already loaded, or if it is the same URL.
For subreports that have expressions returning java.lang.String objects as the subreport source,
representing file names, URLs or classpath resources, the default value for this flag is true.
JRSubreport.setUsingCache(Boolean) setUsingCache(Boolean) |
setUsingCache | public void setUsingCache(Boolean isUsingCache)(Code) | | Specifies if the engine should be loading the current subreport from cache. If set to Boolean.TRUE, the reporting engine
will try to recognize previously loaded subreports using their specified source. For example, it will recognize
an subreport if the subreport source is a file name that it has already loaded, or if it is the same URL.
If set to null, the engine will rely on some default value which depends on the type of the subreport expression.
The cache is turned on by default only for subreports that have java.lang.String objects in their expressions.
|
|
|