public class

CategorySeriesHandler

extends DefaultHandler
implements DatasetTags
java.lang.Object
   ↳ org.xml.sax.helpers.DefaultHandler
     ↳ org.jfree.data.xml.CategorySeriesHandler

Class Overview

A handler for reading a series for a category dataset.

Summary

[Expand]
Inherited Constants
From interface org.jfree.data.xml.DatasetTags
Public Constructors
CategorySeriesHandler(RootHandler root)
Creates a new item handler.
Public Methods
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.
[Expand]
Inherited Methods
From class org.xml.sax.helpers.DefaultHandler
From class java.lang.Object
From interface org.xml.sax.ContentHandler
From interface org.xml.sax.DTDHandler
From interface org.xml.sax.EntityResolver
From interface org.xml.sax.ErrorHandler

Public Constructors

public CategorySeriesHandler (RootHandler root)

Creates a new item handler.

Parameters
root the root handler.

Public Methods

public void addItem (Comparable key, Number value)

Adds an item to the temporary storage for the series.

Parameters
key the key.
value the value.

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.

public void setSeriesKey (Comparable key)

Sets the series key.

Parameters
key the key.

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.