Class FormulaCategoryURLGenerator
- java.lang.Object
-
- org.pentaho.plugin.jfreereport.reportcharts.FormulaCategoryURLGenerator
-
- All Implemented Interfaces:
org.jfree.chart.urls.CategoryURLGenerator
public class FormulaCategoryURLGenerator extends Object implements org.jfree.chart.urls.CategoryURLGenerator
-
-
Constructor Summary
Constructors Constructor Description FormulaCategoryURLGenerator(org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime runtime, String formula)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
generateURL(org.jfree.data.category.CategoryDataset dataset, int series, int category)
Returns a URL for one item in a dataset.
-
-
-
Constructor Detail
-
FormulaCategoryURLGenerator
public FormulaCategoryURLGenerator(org.pentaho.reporting.engine.classic.core.function.ExpressionRuntime runtime, String formula)
-
-
Method Detail
-
generateURL
public String generateURL(org.jfree.data.category.CategoryDataset dataset, int series, int category)
Returns a URL for one item in a dataset. As a guideline, the URL should be valid within the context of an XHTML 1.0 document. Classes that implement this interface are responsible for correctly escaping any text that is derived from the dataset, as this may be user-specified and could pose a security risk.- Specified by:
generateURL
in interfaceorg.jfree.chart.urls.CategoryURLGenerator
- Parameters:
dataset
- the dataset.series
- the series (zero-based index).category
- the category.- Returns:
- A string containing the URL.
-
-