Package net.sf.jasperreports.jakarta.web
Class ReportExecutionHyperlinkProducer
- java.lang.Object
-
- net.sf.jasperreports.jakarta.web.ReportExecutionHyperlinkProducer
-
- All Implemented Interfaces:
JRHyperlinkProducer
public class ReportExecutionHyperlinkProducer extends Object implements JRHyperlinkProducer
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
HYPERLINK_TYPE_REPORT_EXECUTION
protected JasperReportsContext
jasperReportsContext
static String
PARAMETER_REPORT_URI
-
Constructor Summary
Constructors Modifier Constructor Description protected
ReportExecutionHyperlinkProducer(JasperReportsContext jasperReportsContext, jakarta.servlet.http.HttpServletRequest request)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHyperlink(JRPrintHyperlink hyperlink)
Generates the String hyperlink for a hyperlink instance.static ReportExecutionHyperlinkProducer
getInstance(JasperReportsContext jasperReportsContext, jakarta.servlet.http.HttpServletRequest request)
protected String
getPath()
-
-
-
Field Detail
-
HYPERLINK_TYPE_REPORT_EXECUTION
public static final String HYPERLINK_TYPE_REPORT_EXECUTION
- See Also:
- Constant Field Values
-
PARAMETER_REPORT_URI
public static final String PARAMETER_REPORT_URI
- See Also:
- Constant Field Values
-
jasperReportsContext
protected JasperReportsContext jasperReportsContext
-
-
Constructor Detail
-
ReportExecutionHyperlinkProducer
protected ReportExecutionHyperlinkProducer(JasperReportsContext jasperReportsContext, jakarta.servlet.http.HttpServletRequest request)
-
-
Method Detail
-
getInstance
public static ReportExecutionHyperlinkProducer getInstance(JasperReportsContext jasperReportsContext, jakarta.servlet.http.HttpServletRequest request)
-
getPath
protected String getPath()
-
getHyperlink
public String getHyperlink(JRPrintHyperlink hyperlink)
Description copied from interface:JRHyperlinkProducer
Generates the String hyperlink for a hyperlink instance.- Specified by:
getHyperlink
in interfaceJRHyperlinkProducer
- Parameters:
hyperlink
- the hyperlink instance- Returns:
- the genereated String hyperlink
-
-