org.jfree.data.xml
Class CategorySeriesHandler
DefaultHandler
org.jfree.data.xml.CategorySeriesHandler
- DatasetTags
A handler for reading a series for a category dataset.
void | addItem(Comparable key, Number value) - Adds an item to the temporary storage for the series.
|
void | endElement(String namespaceURI, String localName, String qName) - The end of an element.
|
void | setSeriesKey(Comparable key) - Sets the series key.
|
void | startElement(String namespaceURI, String localName, String qName, Attributes atts) - The start of an element.
|
addItem
public void addItem(Comparable key,
Number value)
Adds an item to the temporary storage for the series.
key
- the key.value
- the value.
endElement
public void endElement(String namespaceURI,
String localName,
String qName)
The end of an element.
namespaceURI
- the namespace.localName
- the element name.qName
- the element name.
setSeriesKey
public void setSeriesKey(Comparable key)
Sets the series key.
startElement
public void startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
throws SAXException
The start of an element.
namespaceURI
- the namespace.localName
- the element name.qName
- the element name.atts
- the attributes.