org.jfree.data.xml
public class ItemHandler extends DefaultHandler implements DatasetTags
Constructor Summary | |
---|---|
ItemHandler(RootHandler root, DefaultHandler parent)
Creates a new item handler.
|
Method Summary | |
---|---|
void | endElement(String namespaceURI, String localName, String qName)
The end of an element.
|
Comparable | getKey()
Returns the key that has been read by the handler, or null .
|
Number | getValue()
Returns the key that has been read by the handler, or null .
|
void | setKey(Comparable key)
Sets the key.
|
void | setValue(Number value)
Sets the value.
|
void | startElement(String namespaceURI, String localName, String qName, Attributes atts)
The start of an element.
|
Parameters: root the root handler. parent the parent handler.
Parameters: namespaceURI the namespace. localName the element name. qName the element name.
null
.
Returns: The key.
null
.
Returns: The value.
Parameters: key the key.
Parameters: value the value.
Parameters: namespaceURI the namespace. localName the element name. qName the element name. atts the attributes.
Throws: SAXException for errors.