org.jfree.data.xml
Class PieDatasetHandler
- DatasetTags
A SAX handler for reading a
PieDataset
from an XML file.
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.
|
addItem
public void addItem(Comparable key,
Number value)
Adds an item to the dataset under construction.
key
- the key.value
- the value.
endElement
public void endElement(String namespaceURI,
String localName,
String qName)
throws SAXException
The end of an element.
namespaceURI
- the namespace.localName
- the element name.qName
- the element name.
startElement
public void startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
throws SAXException
Starts an element.
namespaceURI
- the namespace.localName
- the element name.qName
- the element name.atts
- the element attributes.