org.jfree.data.xml

Class CategorySeriesHandler

public class CategorySeriesHandler extends DefaultHandler implements DatasetTags

A handler for reading a series for a category dataset.
Constructor Summary
CategorySeriesHandler(RootHandler root)
Creates a new item handler.
Method Summary
voidaddItem(Comparable key, Number value)
Adds an item to the temporary storage for the series.
voidendElement(String namespaceURI, String localName, String qName)
The end of an element.
voidsetSeriesKey(Comparable key)
Sets the series key.
voidstartElement(String namespaceURI, String localName, String qName, Attributes atts)
The start of an element.

Constructor Detail

CategorySeriesHandler

public CategorySeriesHandler(RootHandler root)
Creates a new item handler.

Parameters: root the root handler.

Method Detail

addItem

public void addItem(Comparable key, Number value)
Adds an item to the temporary storage for the series.

Parameters: key the key. value the value.

endElement

public void endElement(String namespaceURI, String localName, String qName)
The end of an element.

Parameters: namespaceURI the namespace. localName the element name. qName the element name.

setSeriesKey

public void setSeriesKey(Comparable key)
Sets the series key.

Parameters: key the key.

startElement

public void startElement(String namespaceURI, String localName, String qName, Attributes atts)
The start of an element.

Parameters: namespaceURI the namespace. localName the element name. qName the element name. atts the attributes.

Throws: SAXException for errors.

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