Package net.sf.jasperreports.engine.fill
Class JRFillHyperlinkHelper
java.lang.Object
net.sf.jasperreports.engine.fill.JRFillHyperlinkHelper
Utility class used to evaluate custom hyperlink parameters.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Method Summary
Modifier and TypeMethodDescriptionstatic JRPrintHyperlinkevaluateHyperlink(JRHyperlink hyperlink, JRFillExpressionEvaluator expressionEvaluator, byte evaluationType) Evaluate a hyperlink specification.static JRPrintHyperlinkParametersevaluateHyperlinkParameters(JRHyperlink hyperlink, JRFillExpressionEvaluator expressionEvaluator, byte evaluationType) Evaluates a list of hyperlink parameters and produces a hyperlink parameters set that can be associated with a print element.
-
Method Details
-
evaluateHyperlinkParameters
public static JRPrintHyperlinkParameters evaluateHyperlinkParameters(JRHyperlink hyperlink, JRFillExpressionEvaluator expressionEvaluator, byte evaluationType) throws JRException Evaluates a list of hyperlink parameters and produces a hyperlink parameters set that can be associated with a print element.- Parameters:
hyperlink- the hyperlink instanceexpressionEvaluator- the expression evaluator to use for evaluation parameter valueevaluationType- the evaluation type- Returns:
- a print hyperlink parameters set
- Throws:
JRException
-
evaluateHyperlink
public static JRPrintHyperlink evaluateHyperlink(JRHyperlink hyperlink, JRFillExpressionEvaluator expressionEvaluator, byte evaluationType) throws JRException Evaluate a hyperlink specification.- Parameters:
hyperlink- the hyperlink specificationexpressionEvaluator- the expression evaluator to use for evaluation the hyperlink expressionsevaluationType- the evaluation type, as inJRFillExpressionEvaluator.evaluate(JRExpression, byte)- Returns:
- a
print hyperlinkresulted from the expression evaluations. - Throws:
JRException
-