Package net.sf.jasperreports.engine.fill
Class SimpleJasperReportSource
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.SimpleJasperReportSource
-
- All Implemented Interfaces:
JasperReportSource
public class SimpleJasperReportSource extends Object implements JasperReportSource
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description SimpleJasperReportSource()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SimpleJasperReportSource
from(JasperReport report)
static SimpleJasperReportSource
from(JasperReport report, String reportLocation, RepositoryResourceContext reportContext)
JasperReport
getReport()
String
getReportLocation()
RepositoryResourceContext
getRepositoryReportContext()
void
setReport(JasperReport report)
void
setReportLocation(String reportLocation)
void
setRepositoryReportContext(RepositoryResourceContext repositoryContext)
-
-
-
Method Detail
-
from
public static SimpleJasperReportSource from(JasperReport report)
-
from
public static SimpleJasperReportSource from(JasperReport report, String reportLocation, RepositoryResourceContext reportContext)
-
getReport
public JasperReport getReport()
- Specified by:
getReport
in interfaceJasperReportSource
-
setReport
public void setReport(JasperReport report)
-
getReportLocation
public String getReportLocation()
- Specified by:
getReportLocation
in interfaceJasperReportSource
-
setReportLocation
public void setReportLocation(String reportLocation)
-
getRepositoryReportContext
public RepositoryResourceContext getRepositoryReportContext()
- Specified by:
getRepositoryReportContext
in interfaceJasperReportSource
-
setRepositoryReportContext
public void setRepositoryReportContext(RepositoryResourceContext repositoryContext)
-
-