public class StandardPieURLGenerator extends Object implements PieURLGenerator, Serializable
Constructor and Description |
---|
StandardPieURLGenerator()
Default constructor.
|
StandardPieURLGenerator(String prefix)
Creates a new generator.
|
StandardPieURLGenerator(String prefix,
String categoryParamName)
Creates a new generator.
|
StandardPieURLGenerator(String prefix,
String categoryParamName,
String indexParamName)
Creates a new generator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Tests if this object is equal to another.
|
String |
generateURL(PieDataset dataset,
Comparable key,
int pieIndex)
Generates a URL.
|
public StandardPieURLGenerator()
public StandardPieURLGenerator(String prefix)
prefix
- the prefix (null
not permitted).public StandardPieURLGenerator(String prefix, String categoryParamName)
prefix
- the prefix (null
not permitted).categoryParamName
- the category parameter name (null
not
permitted).public StandardPieURLGenerator(String prefix, String categoryParamName, String indexParamName)
prefix
- the prefix (null
not permitted).categoryParamName
- the category parameter name (null
not
permitted).indexParamName
- the index parameter name (null
permitted).public String generateURL(PieDataset dataset, Comparable key, int pieIndex)
generateURL
in interface PieURLGenerator
dataset
- the dataset (ignored).key
- the item key (null
not permitted).pieIndex
- the pie index.Jas4pp 1.5 © Java Analysis Studio for Particle Physics