org.jfree.data.xml
public class PieDatasetHandler extends RootHandler implements DatasetTags
| Constructor Summary | |
|---|---|
| PieDatasetHandler()
Default constructor. | |
| Method Summary | |
|---|---|
| void | addItem(Comparable key, Number value)
Adds an item to the dataset under construction.
|
| void | endElement(String namespaceURI, String localName, String qName)
The end of an element.
|
| PieDataset | getDataset()
Returns the dataset.
|
| void | startElement(String namespaceURI, String localName, String qName, Attributes atts)
Starts an element.
|
Parameters: key the key. value the value.
Parameters: namespaceURI the namespace. localName the element name. qName the element name.
Throws: SAXException for errors.
Returns: The dataset.
Parameters: namespaceURI the namespace. localName the element name. qName the element name. atts the element attributes.
Throws: SAXException for errors.