Header
And More


org.jfree.chart.urls
Interface XYURLGenerator

All Known Subinterfaces:
XYZURLGenerator
All Known Implementing Classes:
CustomXYURLGenerator, StandardXYURLGenerator, StandardXYZURLGenerator, TimeSeriesURLGenerator

public interface XYURLGenerator

Interface for a URL generator for plots that uses data from an XYDataset. 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.


Method Summary
 java.lang.String generateURL(XYDataset dataset, int series, int item)
          Generates a URL for a particular item within a series.
 

Method Detail

generateURL

java.lang.String generateURL(XYDataset dataset,
                             int series,
                             int item)
Generates a URL for a particular item within a series. As a guideline, the URL should be valid within the context of an XHTML 1.0 document.

Parameters:
dataset - the dataset (null not permitted).
series - the series index (zero-based).
item - the item index (zero-based).
Returns:
A string containing the generated URL (possibly null).

Footer
And More


Copyright © 2000-2009 by Object Refinery Limited. All Rights Reserved.